me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-pyo3-ffi-0.21.

* gnu/packages/crates-io.scm (rust-pyo3-ffi-0.21): New variable.
(rust-pyo3-ffi-0.20): Inherit from rust-pyo3-ffi-0.21.
Update to 0.20.3.

Change-Id: I5ef7bcc0855952dcd4d47254ed4dd338076f67b3
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Nguyễn Gia Phong 2024-07-03 16:57:57 +09:00 committed by Efraim Flashner
parent 6f06918484
commit d7087363f7
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 23 additions and 5 deletions

View File

@ -58157,21 +58157,22 @@ ecosystem.")
`(#:cargo-inputs
(("rust-once-cell" ,rust-once-cell-1))))))
(define-public rust-pyo3-ffi-0.20
(define-public rust-pyo3-ffi-0.21
(package
(name "rust-pyo3-ffi")
(version "0.20.2")
(version "0.21.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "pyo3-ffi" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1wbcv9cd0bandh3j5qfd5r66n045b8hs9wd4pi36nxhpgv0xxdyv"))))
(base32 "00vlp4gmzn76gz250pz1r3fydd5r41nwl7dd9nmidfb0vi1migh1"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20))))
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-pyo3-build-config" ,rust-pyo3-build-config-0.21))))
(native-inputs (list python))
(home-page "https://github.com/pyo3/pyo3")
(synopsis "Python API bindings for the PyO3 ecosystem")
@ -58179,6 +58180,23 @@ ecosystem.")
"This crate provides Rust FFI declarations for Python 3.")
(license (list license:expat license:asl2.0))))
(define-public rust-pyo3-ffi-0.20
(package
(inherit rust-pyo3-ffi-0.21)
(name "rust-pyo3-ffi")
(version "0.20.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "pyo3-ffi" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1yja1npmzh4i73jn5dv2rnw7idif8bns51bf3zpx821ys0qjbd32"))))
(arguments
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20))))))
(define-public rust-pyo3-ffi-0.19
(package
(inherit rust-pyo3-ffi-0.20)