summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-16 20:36:53 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-21 16:23:59 +0200
commit8f414fa29dc54a40fdfa94a897eda0795f6cb355 (patch)
tree5111e2bf7b3b3700d1e25f278a032ff4524acb76
parentc8a2b343d37479c4b8a82e7bec9cab27139bf3ea (diff)
downloadguix-8f414fa29dc54a40fdfa94a897eda0795f6cb355.tar.gz
gnu: Add rust-arrayref-0.3.
* gnu/packages/crates-io.scm (rust-arrayref-0.3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c8fe7597d2..7bbaf60324 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -308,6 +308,30 @@ text or blue underlined text, on ANSI terminals.")
 that runs on Argon2.")
     (license license:expat)))
 
+(define-public rust-arrayref-0.3
+  (package
+    (name "rust-arrayref")
+    (version "0.3.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "arrayref" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1vphy316jbgmgckk4z7m8csvlyc8hih9w95iyq48h8077xc2wf0d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-development-inputs
+       (("rust-quickcheck" ,rust-quickcheck-0.6))))
+    (home-page "https://github.com/droundy/arrayref")
+    (synopsis "Macros to take array references of slices")
+    (description
+     "Macros to take array references of slices.")
+    (license license:bsd-2)))
+
 (define-public rust-arrayvec-0.4
   (package
     (name "rust-arrayvec")