aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-14 16:40:19 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:39 +0200
commit7d5b963f96b8194fbc661f2bb93592226b6d5aa5 (patch)
treea2d25d7698e13fb8ec209945f6a73235a43933af /gnu/packages/crates-io.scm
parent40c7e5960561065807fae90610de9b4a27aeed20 (diff)
downloadguix-7d5b963f96b8194fbc661f2bb93592226b6d5aa5.tar.gz
guix-7d5b963f96b8194fbc661f2bb93592226b6d5aa5.zip
gnu: Add rust-pyo3-macros-0.20.
* gnu/packages/crates-io.scm (rust-pyo3-macros-0.20): New variable. (rust-pyo3-macros-0.19): Inherit from rust-pyo3-macros-0.20. Change-Id: I766cd3f45d4d531ec7285825061e69543c858d6b
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 f2a91a351b..2a1bfdfe1a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53733,8 +53733,32 @@ extension to python.")
("rust-syn" ,rust-syn-1))))
(native-inputs (list python))))
+(define-public rust-pyo3-macros-0.20
+ (package
+ (name "rust-pyo3-macros")
+ (version "0.20.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pyo3-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lsfyx1shdyi7zybs3maakh2h3zsij3l5wap35qval0dwjs3ixq5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.20)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/pyo3/pyo3")
+ (synopsis "Proc macros for PyO3")
+ (description
+ "This package provides compiler macros for use with PyO3.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pyo3-macros-0.19
(package
+ (inherit rust-pyo3-macros-0.20)
(name "rust-pyo3-macros")
(version "0.19.2")
(source (origin
@@ -53744,18 +53768,12 @@ extension to python.")
(sha256
(base32
"1lggr5pnpmdj0cznlhw7ykm1qka3wlymwzfxqql6a4vyb6clrsyz"))))
- (build-system cargo-build-system)
(arguments
`(#: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
- "This package provides compiler macros for use with PyO3.")
- (license license:asl2.0)))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-pyo3-macros-0.18
(package