diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-07-13 21:53:33 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-07-18 20:56:28 +0300 |
commit | 59dabb35a70bd3b8dc5c8356177eaea233abc1ca (patch) | |
tree | 87e47b723b253587650fea2613f99570a54632c3 | |
parent | 4cb25d4e7d3c50b839f78c2e78f1388dc52eea77 (diff) | |
download | guix-59dabb35a70bd3b8dc5c8356177eaea233abc1ca.tar.gz |
gnu: Add rust-pyo3-macros-0.19.
* gnu/packages/crates-io.scm (rust-pyo3-macros-0.19): New variable. (rust-pyo3-macros-0.16): Inherit from rust-pyo3-macros-0.19.
-rw-r--r-- | gnu/packages/crates-io.scm | 47 |
1 files changed, 33 insertions, 14 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index baf53d9f2d..16fd7f580b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49472,24 +49472,24 @@ ecosystem.") ("rust-syn" ,rust-syn-1)))) (native-inputs (list python)))) -(define-public rust-pyo3-macros-0.16 +(define-public rust-pyo3-macros-0.19 (package (name "rust-pyo3-macros") - (version "0.16.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "pyo3-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xwh7sl4n73746q80n5m5afd261zg0kxcqfnlr89ik7vbd4c8kr8")))) + (version "0.19.1") + (source (origin + (method url-fetch) + (uri (crate-uri "pyo3-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18n57jpi3292jhzmg5bjr1343zl93gmvxz21m1j5jdfxl73awp4a")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.16) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.19) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/pyo3/pyo3") (synopsis "Proc macros for PyO3") (description @@ -49515,6 +49515,25 @@ ecosystem.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-pyo3-macros-0.16 + (package + (inherit rust-pyo3-macros-0.19) + (name "rust-pyo3-macros") + (version "0.16.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xwh7sl4n73746q80n5m5afd261zg0kxcqfnlr89ik7vbd4c8kr8")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.16) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-pyo3-macros-0.15 (package (inherit rust-pyo3-macros-0.16) |