summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-08-25 22:01:00 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-09-05 00:12:42 +0200
commitfd866c44e7e50cc4d7f1116c40a3dde6a0b16137 (patch)
treebeb241226cd4b11cb22fb7480fb8ccb73f524a01 /gnu
parent4dc07de53e7a14f059d36cda5a559aa260403487 (diff)
downloadguix-fd866c44e7e50cc4d7f1116c40a3dde6a0b16137.tar.gz
gnu: Add rust-pyo3-macros-0.13.
* gnu/packages/crates-io.scm (rust-pyo3-macros-0.13): New variable.
Diffstat (limited to 'gnu')
-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 e7b7d6fef3..f51cce7b06 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46539,6 +46539,25 @@ ecosystem.")
      "This package provides compiler macros for use with PyO3.")
     (license license:asl2.0)))
 
+(define-public rust-pyo3-macros-0.13
+  (package
+    (inherit rust-pyo3-macros-0.15)
+    (name "rust-pyo3-macros")
+    (version "0.13.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pyo3-macros" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1fxi5lx5dl7xh469gr5xckyjy3r3c5dqypzxcj0fbhzf1hq2qzx4"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.13)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-pyo3-0.15
   (package
     (name "rust-pyo3")