summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-07-13 21:15:28 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-07-18 20:56:28 +0300
commitee8ea5238fac7eb21c2692017d4d991c8debe5c9 (patch)
treece2fc3f4c8fc171199ebbce78f4d5e0bd11563d4
parente5659f69aec725474c3c2802deefcf71bc52cc90 (diff)
downloadguix-ee8ea5238fac7eb21c2692017d4d991c8debe5c9.tar.gz
gnu: Add rust-pyo3-macros-backend-0.18.
* gnu/packages/crates-io.scm (rust-pyo3-macros-backend-0.18): New
variable.
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1063e49841..4afb401803 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49414,6 +49414,24 @@ ecosystem.")
      "This package provides code generation backends for PyO3.")
     (license license:asl2.0)))
 
+(define-public rust-pyo3-macros-backend-0.18
+  (package
+    (inherit rust-pyo3-macros-backend-0.19)
+    (name "rust-pyo3-macros-backend")
+    (version "0.18.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pyo3-macros-backend" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "062rxf7cj1dn82yiaws3dmxw5qq9ssccq92jgdc210y4lh4gznlp"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-pyo3-macros-backend-0.16
   (package
     (inherit rust-pyo3-macros-backend-0.19)