summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-07-13 21:54:03 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-07-18 20:56:28 +0300
commit45d0e3a8b5862c1c8b6ba8b28df92c4fe254be32 (patch)
treede40713cfa404cb5efe8bab877814235ed1f5289
parent59dabb35a70bd3b8dc5c8356177eaea233abc1ca (diff)
downloadguix-45d0e3a8b5862c1c8b6ba8b28df92c4fe254be32.tar.gz
gnu: Add rust-pyo3-macros-0.18.
* gnu/packages/crates-io.scm (rust-pyo3-macros-0.18): New variable.
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16fd7f580b..7bef0450b5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49496,6 +49496,25 @@ ecosystem.")
      "This package provides compiler macros for use with PyO3.")
     (license license:asl2.0)))
 
+(define-public rust-pyo3-macros-0.18
+  (package
+    (inherit rust-pyo3-macros-0.19)
+    (name "rust-pyo3-macros")
+    (version "0.18.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pyo3-macros" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "13b454p012l1487lbfqkr952qifsl88arldv4m5mmz5kv9arrlx9"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.18)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-pyo3-macros-backend-0.13
   (package
     (inherit rust-pyo3-macros-backend-0.15)