From 09e1cebcdca252a6e81dd56840cc5bf10438cf11 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 15 Jun 2021 12:32:12 +0200 Subject: [PATCH] gnu: Add rust-hashlink-0.7. * gnu/packages/crates-io.scm (rust-hashlink-0.7): New variable. (rust-hashlink-0.6): Inherit from above. --- gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9382f7c28a..2a26925553 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19328,8 +19328,34 @@ hash map.") ("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 @@ hash map.") (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