gnu: Add rust-pyo3-macros-backend-0.21.

* gnu/packages/crates-io.scm (rust-pyo3-macros-backend-0.21): New variable.
(rust-pyo3-macros-backend-0.20): Inherit from rust-pyo3-macros-backend-0.21.
Update to 0.20.3.
[cargo-inputs]: Add rust-pyo3-build-config-0.20.

Change-Id: Ia3a833ffc0a4107ae995754f13887103f5243402
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Nguyễn Gia Phong 2024-07-03 16:57:58 +09:00 committed by Efraim Flashner
parent d7087363f7
commit 98d39752fe
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -58275,29 +58275,50 @@ (define-public rust-pyo3-log-0.8
extension to python.") extension to python.")
(license (list license:asl2.0 license:expat)))) (license (list license:asl2.0 license:expat))))
(define-public rust-pyo3-macros-backend-0.20 (define-public rust-pyo3-macros-backend-0.21
(package (package
(name "rust-pyo3-macros-backend") (name "rust-pyo3-macros-backend")
(version "0.20.2") (version "0.21.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "pyo3-macros-backend" version)) (uri (crate-uri "pyo3-macros-backend" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "07w8x1wxm1ksx72jb0w1p2ssmg9zh95dsv4xmxyq4iqqhpa11j8g")))) (base32 "0p58yp8ajlc8bq56wghw1syrjszmadasasdfpsjy3d9dychhf9h8"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4)
("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-pyo3-build-config" ,rust-pyo3-build-config-0.21)
("rust-quote" ,rust-quote-1) ("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2)))) ("rust-syn" ,rust-syn-2))))
(native-inputs (list python-minimal))
(home-page "https://github.com/pyo3/pyo3") (home-page "https://github.com/pyo3/pyo3")
(synopsis "Code generation for PyO3") (synopsis "Code generation for PyO3")
(description (description
"This package provides code generation backends for PyO3.") "This package provides code generation backends for PyO3.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-pyo3-macros-backend-0.20
(package
(inherit rust-pyo3-macros-backend-0.21)
(name "rust-pyo3-macros-backend")
(version "0.20.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "pyo3-macros-backend" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "11b1z7qnbdnd9hy74ds3xcjx3mjkz43mvpnan32ljccwpdl9nzkw"))))
(arguments
`(#:cargo-inputs (("rust-heck" ,rust-heck-0.4)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))))
(define-public rust-pyo3-macros-backend-0.19 (define-public rust-pyo3-macros-backend-0.19
(package (package
(inherit rust-pyo3-macros-backend-0.20) (inherit rust-pyo3-macros-backend-0.20)
@ -58314,7 +58335,8 @@ (define-public rust-pyo3-macros-backend-0.19
`(#:cargo-inputs `(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1) (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1) ("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1)))))) ("rust-syn" ,rust-syn-1))))
(native-inputs '())))
(define-public rust-pyo3-macros-backend-0.18 (define-public rust-pyo3-macros-backend-0.18
(package (package