guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#71914] [PATCH 06/10] gnu: Add rust-pyo3-ffi-0.21.


From: Nguyễn Gia Phong
Subject: [bug#71914] [PATCH 06/10] gnu: Add rust-pyo3-ffi-0.21.
Date: Wed, 3 Jul 2024 16:57:57 +0900

* 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
---
 gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++-----
 1 file changed, 23 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 043a75cbc1e7..c7a955a2d7fd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51328,21 +51328,22 @@ (define-public rust-pyo3-build-config-0.15
      `(#: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")
@@ -51350,6 +51351,23 @@ (define-public rust-pyo3-ffi-0.20
      "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)
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]