mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
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.
This commit is contained in:
parent
61521e1a7a
commit
7d9231bb24
1 changed files with 31 additions and 9 deletions
|
@ -8008,8 +8008,38 @@ (define-public rust-generator-0.6
|
|||
(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 @@ (define-public rust-generic-array-0.13
|
|||
(sha256
|
||||
(base32
|
||||
"1kddwxpd58y807y1r3lijg7sw3gxm6nczl6wp57gamhv6mhygl8f"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
|
@ -8029,14 +8058,7 @@ (define-public rust-generic-array-0.13
|
|||
("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
|
||||
|
|
Loading…
Reference in a new issue