gnu: Add rust-pyo3-log-0.8.

* gnu/packages/crates-io.scm (rust-pyo3-log-0.8): New variable.
This commit is contained in:
Efraim Flashner 2023-07-13 21:56:00 +03:00
parent 64f46c0c56
commit ffe762d1a8
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -49391,6 +49391,33 @@ (define-public rust-pyo3-ffi-0.18
"This crate provides Rust FFI declarations for Python 3.")
(license license:asl2.0)))
(define-public rust-pyo3-log-0.8
(package
(name "rust-pyo3-log")
(version "0.8.2")
(source (origin
(method url-fetch)
(uri (crate-uri "pyo3-log" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0i0lwnzp0gizijidcddas3888zrzqpa60pmqs3bmibkbb99zcky9"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-arc-swap" ,rust-arc-swap-1)
("rust-log" ,rust-log-0.4)
("rust-pyo3" ,rust-pyo3-0.16))
#:cargo-development-inputs
(("rust-pyo3" ,rust-pyo3-0.16)
("rust-syn" ,rust-syn-1))))
(inputs (list python))
(home-page "https://github.com/vorner/pyo3-log")
(synopsis "Logging bridge from pyo3 native extension to python")
(description "This package provides a logging bridge from pyo3 native
extension to python.")
(license (list license:asl2.0 license:expat))))
(define-public rust-pyo3-macros-backend-0.19
(package
(name "rust-pyo3-macros-backend")