summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-18 22:47:58 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-22 23:39:22 +0200
commit93e0ae08a8cfd2278cde4678237f92f57596e167 (patch)
tree0b70bc6fbe1c5d56ad91aee6340da2e9e47140bc /gnu
parent24719e8a0dc77bdbe637907501f4a337f571d5e2 (diff)
downloadguix-93e0ae08a8cfd2278cde4678237f92f57596e167.tar.gz
gnu: Add rust-foreign-types-macros-0.2.
* gnu/packages/crates-io.scm (rust-foreign-types-macros-0.2):
New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4872aa69a8..00698b6ab4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4094,6 +4094,31 @@ implementation that is more efficient for smaller hash keys.")
 APIs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-foreign-types-macros-0.2
+  (package
+    (name "rust-foreign-types-macros")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "foreign-types-macros" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0x71sdffjfb123l2jn5vhz0ni09b4rdq3h3gpczd1dj1g5qlr2yv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1.0)
+        ("rust-quote" ,rust-quote-1.0)
+        ("rust-syn" ,rust-syn-1.0))))
+    (home-page "https://github.com/sfackler/foreign-types")
+    (synopsis "Internal crate used by foreign-types")
+    (description
+     "This package is an internal crate used by foreign-types.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-foreign-types-macros-0.1
   (package
     (name "rust-foreign-types-macros")