diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-06-28 14:18:22 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-06-28 14:59:27 +0300 |
commit | 7d9231bb24dbbbcfc0204fcd14dc716e149954cd (patch) | |
tree | baa6d79a92b8edd4006be722490a5e5024584801 | |
parent | 61521e1a7a1ee403f69130ef54ca00fb37173859 (diff) | |
download | guix-7d9231bb24dbbbcfc0204fcd14dc716e149954cd.tar.gz |
gnu: Add rust-generic-array-0.14.
* gnu/packages/crates-io.scm (rust-generic-array-0.14): New variable. (rust-generic-array-0.13): Inherit from rust-generic-array-0.14.
-rw-r--r-- | gnu/packages/crates-io.scm | 40 |
1 files changed, 31 insertions, 9 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 56b38c7452..554da27d1c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8008,8 +8008,38 @@ API library @code{gdi32}.") (description "Stackfull Generator Library in Rust.") (license (list license:asl2.0 license:expat)))) +(define-public rust-generic-array-0.14 + (package + (name "rust-generic-array") + (version "0.14.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "generic-array" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "107r1fpm8zcab3lzci4x9par6ik8bra390c60rhxvnmz7dgnlx5c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1.0) + ("rust-typenum" ,rust-typenum-1.10) + ("rust-version-check" ,rust-version-check-0.9)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1.2) + ("rust-serde-json" ,rust-serde-json-1.0)))) + (home-page "https://github.com/fizyk20/generic-array.git") + (synopsis + "Generic types implementing functionality of arrays") + (description + "Generic types implementing functionality of arrays.") + (license license:expat))) + (define-public rust-generic-array-0.13 (package + (inherit rust-generic-array-0.14) (name "rust-generic-array") (version "0.13.2") (source @@ -8021,7 +8051,6 @@ API library @code{gdi32}.") (sha256 (base32 "1kddwxpd58y807y1r3lijg7sw3gxm6nczl6wp57gamhv6mhygl8f")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -8029,14 +8058,7 @@ API library @code{gdi32}.") ("rust-typenum" ,rust-typenum-1.10)) #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1.1) - ("rust-serde-json" ,rust-serde-json-1.0)))) - (home-page - "https://github.com/fizyk20/generic-array") - (synopsis - "Generic types implementing functionality of arrays") - (description - "Generic types implementing functionality of arrays.") - (license license:expat))) + ("rust-serde-json" ,rust-serde-json-1.0)))))) (define-public rust-generic-array-0.12 (package |