gnu: Add rust-arrayref-0.3.
authorJohn Soo <jsoo1@asu.edu>
Fri, 17 Jan 2020 04:36:53 +0000 (20:36 -0800)
committerEfraim Flashner <efraim@flashner.co.il>
Tue, 21 Jan 2020 14:23:59 +0000 (16:23 +0200)
* gnu/packages/crates-io.scm (rust-arrayref-0.3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu/packages/crates-io.scm

index c8fe759..7bbaf60 100644 (file)
@@ -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")