gnu: Add rust-hashlink-0.7.

* gnu/packages/crates-io.scm (rust-hashlink-0.7): New variable.
(rust-hashlink-0.6): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-06-15 12:32:12 +02:00
parent 608e342d1f
commit 09e1cebcdc
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -19328,8 +19328,34 @@ (define-public rust-hashbrown-0.1
("rust-rustc-hash" ,rust-rustc-hash-1)
("rust-serde-test" ,rust-serde-test-1))))))
(define-public rust-hashlink-0.7
(package
(name "rust-hashlink")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hashlink" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1kzs54xq1g41zph39cfdfchiafij99382zw5fk6zq7xwkh9a6jbj"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-hashbrown" ,rust-hashbrown-0.11)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
(("rust-serde-test" ,rust-serde-test-1))))
(home-page "https://crates.io/crates/hashlink")
(synopsis "HashMap-like containers with user controllable order")
(description "This package provides HashMap-like containers that hold
their key-value pairs in a user controllable order.")
(license (list license:expat license:asl2.0))))
(define-public rust-hashlink-0.6
(package
(inherit rust-hashlink-0.7)
(name "rust-hashlink")
(version "0.6.0")
(source
@ -19339,19 +19365,13 @@ (define-public rust-hashlink-0.6
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1a2gi4737lmqq1i48b9w13gvbkh4g3gc7gj6d3974hywy21gg76r"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-hashbrown" ,rust-hashbrown-0.9)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
(("rust-serde-test" ,rust-serde-test-1))))
(home-page "https://crates.io/crates/hashlink")
(synopsis "HashMap-like containers with user controllable order")
(description "This package provides HashMap-like containers that hold
their key-value pairs in a user controllable order.")
(license (list license:expat license:asl2.0))))
(("rust-serde-test" ,rust-serde-test-1))))))
(define-public rust-headers-0.3
(package