From ffe762d1a809b980b2c60707dcaf917b6906dbc6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 13 Jul 2023 21:56:00 +0300 Subject: [PATCH] gnu: Add rust-pyo3-log-0.8. * gnu/packages/crates-io.scm (rust-pyo3-log-0.8): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 87778da8b4..36bfae3785 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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")