diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-14 16:42:52 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:40 +0200 |
commit | b2b76d0d54fdf7ec86af0afa87870f7a5a4a3515 (patch) | |
tree | 49b1de71cec8d64c4c5bfdb18c489362bd213845 /gnu/packages/crates-io.scm | |
parent | 72d66a063c460f9e25f7093c05a17100e60de742 (diff) | |
download | guix-b2b76d0d54fdf7ec86af0afa87870f7a5a4a3515.tar.gz guix-b2b76d0d54fdf7ec86af0afa87870f7a5a4a3515.zip |
gnu: Add rust-pyo3-ffi-0.20.
* gnu/packages/crates-io.scm (rust-pyo3-ffi-0.20): New variable.
(rust-pyo3-ffi-0.19): Inherit from rust-pyo3-ffi-0.20.
Change-Id: Ia11da3916ddf808ef6cfced04c8d0fe580157f0b
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d1a19f866f..11ebfc222d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -53549,8 +53549,31 @@ ecosystem.") `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))))) +(define-public rust-pyo3-ffi-0.20 + (package + (name "rust-pyo3-ffi") + (version "0.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-ffi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wbcv9cd0bandh3j5qfd5r66n045b8hs9wd4pi36nxhpgv0xxdyv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20)))) + (native-inputs (list python)) + (home-page "https://github.com/pyo3/pyo3") + (synopsis "Python API bindings for the PyO3 ecosystem") + (description + "This crate provides Rust FFI declarations for Python 3.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pyo3-ffi-0.19 (package + (inherit rust-pyo3-ffi-0.20) (name "rust-pyo3-ffi") (version "0.19.2") (source (origin @@ -53560,17 +53583,10 @@ ecosystem.") (sha256 (base32 "1nc4696k03ydyiy1f69l3ywknavjzxzag2mscrh2bgkywx1fwg75")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.19)))) - (native-inputs (list python)) - (home-page "https://github.com/pyo3/pyo3") - (synopsis "Python API bindings for the PyO3 ecosystem") - (description - "This crate provides Rust FFI declarations for Python 3.") - (license license:asl2.0))) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.19)))))) (define-public rust-pyo3-ffi-0.18 (package |