guix-commits
[Top][All Lists]
Advanced

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

451/472: gnu: Add rust-pyo3-build-config-0.19.


From: guix-commits
Subject: 451/472: gnu: Add rust-pyo3-build-config-0.19.
Date: Tue, 18 Jul 2023 14:10:04 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit e5659f69aec725474c3c2802deefcf71bc52cc90
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jul 13 21:14:56 2023 +0300

    gnu: Add rust-pyo3-build-config-0.19.
    
    * gnu/packages/crates-io.scm (rust-pyo3-build-config-0.19): New variable.
    (rust-pyo3-build-config-0.16): Inherit from rust-pyo3-build-config-0.19.
---
 gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++------------
 1 file changed, 30 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 36839a4491..1063e49841 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49391,23 +49391,21 @@ ecosystem.")
      "This crate provides Rust FFI declarations for Python 3.")
     (license license:asl2.0)))
 
-(define-public rust-pyo3-macros-backend-0.16
+(define-public rust-pyo3-macros-backend-0.19
   (package
     (name "rust-pyo3-macros-backend")
-    (version "0.16.5")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "pyo3-macros-backend" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1bvzvdx2a6hhliny12n2vy7v7gbsgzanxjckjr1cbxbkizss1gak"))))
+    (version "0.19.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pyo3-macros-backend" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "12zs1vx0h4hainb0lpnw8knd9i9l0g2rdzdnrmb1bnv0n75qrdz0"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
-        ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.16)
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))
     (home-page "https://github.com/pyo3/pyo3";)
@@ -49416,6 +49414,26 @@ ecosystem.")
      "This package provides code generation backends for PyO3.")
     (license license:asl2.0)))
 
+(define-public rust-pyo3-macros-backend-0.16
+  (package
+    (inherit rust-pyo3-macros-backend-0.19)
+    (name "rust-pyo3-macros-backend")
+    (version "0.16.5")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pyo3-macros-backend" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1bvzvdx2a6hhliny12n2vy7v7gbsgzanxjckjr1cbxbkizss1gak"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.16)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-pyo3-macros-backend-0.15
   (package
     (inherit rust-pyo3-macros-backend-0.16)



reply via email to

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