aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-14 16:39:50 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:39 +0200
commit40c7e5960561065807fae90610de9b4a27aeed20 (patch)
treebdfd159891f6b45e0993ef9643d1eecc767abb1f /gnu/packages/crates-io.scm
parent5709c4b0ff447d72c471998c04177ce6ddf8fd9d (diff)
downloadguix-40c7e5960561065807fae90610de9b4a27aeed20.tar.gz
guix-40c7e5960561065807fae90610de9b4a27aeed20.zip
gnu: Add rust-pyo3-macros-backend-0.20.
* gnu/packages/crates-io.scm (rust-pyo3-macros-backend-0.20): New variable. (rust-pyo3-macros-backend-0.19): Inherit from rust-pyo3-macros-backend-0.20. Change-Id: I4a0c29f32898b104e941c620f068b7e77f0c099c
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 25 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ef2408dc39..f2a91a351b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53634,8 +53634,32 @@ ecosystem.")
extension to python.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-pyo3-macros-backend-0.20
+ (package
+ (name "rust-pyo3-macros-backend")
+ (version "0.20.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pyo3-macros-backend" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07w8x1wxm1ksx72jb0w1p2ssmg9zh95dsv4xmxyq4iqqhpa11j8g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/pyo3/pyo3")
+ (synopsis "Code generation for PyO3")
+ (description
+ "This package provides code generation backends for PyO3.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pyo3-macros-backend-0.19
(package
+ (inherit rust-pyo3-macros-backend-0.20)
(name "rust-pyo3-macros-backend")
(version "0.19.2")
(source (origin
@@ -53645,17 +53669,11 @@ extension to python.")
(sha256
(base32
"0dlm4pg29hjmlqx15gcy9cmnabvc8ycy60hcvjg8hm62flhw2zcl"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/pyo3/pyo3")
- (synopsis "Code generation for PyO3")
- (description
- "This package provides code generation backends for PyO3.")
- (license license:asl2.0)))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-pyo3-macros-backend-0.18
(package