diff options
author | Wilko Meyer <w@wmeyer.eu> | 2024-01-08 02:52:51 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:46 +0200 |
commit | 9117b3c3971da7c7038b4ac03f24adb22f911fb7 (patch) | |
tree | 8e11eb022f726283febf87d23474d7eb319bfe1a /gnu/packages/crates-io.scm | |
parent | 2b181350acd41afa3368ec33a664bc08a0f2e3e6 (diff) | |
download | guix-9117b3c3971da7c7038b4ac03f24adb22f911fb7.tar.gz |
gnu: Add rust-lru-0.12.
* gnu/packages/crates-io.scm (rust-lru-0.12): New variable. (rust-lru-0.9): Inherit from rust-lru-0.12. Change-Id: I66d64ecb06fb2ed43d75142fa9002dfe60138262 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 50f2897cab..3b14bbac56 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37981,28 +37981,46 @@ image together with its neighboring pixels.") ("rust-rayon" ,rust-rayon-1) ("rust-time" ,rust-time-0.2)))))) -(define-public rust-lru-0.9 +(define-public rust-lru-0.12 (package (name "rust-lru") - (version "0.9.0") + (version "0.12.1") (source (origin (method url-fetch) (uri (crate-uri "lru" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05yz4qqx7wxbhgxs5hx22j13g8mv9z3gn2pkspykyq48winx9rvi")))) + (base32 "1myillpwqfcins062g28jvj48cxw8818zcx08ydzsl6misxfx519")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13)) + `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.14)) #:cargo-development-inputs (("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) ("rust-stats-alloc" ,rust-stats-alloc-0.1)))) (home-page "https://github.com/jeromefroe/lru-rs") - (synopsis "LRU cache") + (synopsis "LRU cache implementation") (description "This package provides a LRU cache implementation.") (license license:expat))) +(define-public rust-lru-0.9 + (package + (inherit rust-lru-0.12) + (name "rust-lru") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lru" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05yz4qqx7wxbhgxs5hx22j13g8mv9z3gn2pkspykyq48winx9rvi")))) + (arguments + `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13)) + #:cargo-development-inputs + (("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) + ("rust-stats-alloc" ,rust-stats-alloc-0.1)))))) + (define-public rust-lru-0.7 (package (inherit rust-lru-0.9) |