me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-hashlink-0.9.

* gnu/packages/crates-io.scm (rust-hashlink-0.9): New variable.
(rust-hashlink-0.8): Inherit from rust-hashlink-0.9.

Change-Id: I9a4e1592f457d9aa51bb96b1b4549900825eadea
master
Efraim Flashner 2024-03-14 12:27:45 +02:00
parent e1bf05f1db
commit 081a575022
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 25 additions and 7 deletions

View File

@ -28404,8 +28404,32 @@ hash map.")
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
("rust-serde" ,rust-serde-1)))))) ("rust-serde" ,rust-serde-1))))))
(define-public rust-hashlink-0.9
(package
(name "rust-hashlink")
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hashlink" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1vi5nxldy84raw4jy0fq059xq7mnfha0y2gg7kfihxb0yzvslbk9"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.14)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs (("rust-rustc-hash" ,rust-rustc-hash-1)
("rust-serde-test" ,rust-serde-test-1))))
(home-page "https://github.com/kyren/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.8 (define-public rust-hashlink-0.8
(package (package
(inherit rust-hashlink-0.9)
(name "rust-hashlink") (name "rust-hashlink")
(version "0.8.2") (version "0.8.2")
(source (origin (source (origin
@ -28415,19 +28439,13 @@ hash map.")
(sha256 (sha256
(base32 (base32
"1ap6ar5jlqq6ln7d9r2j5079mbx0zg8643xacqyjwkqw96ws2q87")))) "1ap6ar5jlqq6ln7d9r2j5079mbx0zg8643xacqyjwkqw96ws2q87"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-hashbrown" ,rust-hashbrown-0.13) (("rust-hashbrown" ,rust-hashbrown-0.13)
("rust-serde" ,rust-serde-1)) ("rust-serde" ,rust-serde-1))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-rustc-hash" ,rust-rustc-hash-1) (("rust-rustc-hash" ,rust-rustc-hash-1)
("rust-serde-test" ,rust-serde-test-1)))) ("rust-serde-test" ,rust-serde-test-1))))))
(home-page "https://github.com/kyren/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.7 (define-public rust-hashlink-0.7
(package (package