me
/
guix
Archived
1
0
Fork 0

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>
master
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
1 changed files with 26 additions and 4 deletions

View File

@ -58275,29 +58275,50 @@ ecosystem.")
extension to python.")
(license (list license:asl2.0 license:expat))))
(define-public rust-pyo3-macros-backend-0.20
(define-public rust-pyo3-macros-backend-0.21
(package
(name "rust-pyo3-macros-backend")
(version "0.20.2")
(version "0.21.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "pyo3-macros-backend" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "07w8x1wxm1ksx72jb0w1p2ssmg9zh95dsv4xmxyq4iqqhpa11j8g"))))
(base32 "0p58yp8ajlc8bq56wghw1syrjszmadasasdfpsjy3d9dychhf9h8"))))
(build-system cargo-build-system)
(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.21)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))
(native-inputs (list python-minimal))
(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.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
(package
(inherit rust-pyo3-macros-backend-0.20)
@ -58314,7 +58335,8 @@ extension to python.")
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-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
(package