From c225dd2bf5422952a53a80d797590867a7a8216e Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 16 Jan 2020 20:36:53 -0800 Subject: [PATCH 65/69] gnu: Add rust-arrayref-0.3. * gnu/packages/crates-io.scm (rust-arrayref-0.3): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6ed1a1ab25..d705f516fb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -283,6 +283,31 @@ text or blue underlined text, on ANSI terminals.") "The pure Rust password hashing library 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.8)))) + (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") -- 2.25.0