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>
This commit is contained in:
Wilko Meyer 2024-01-08 02:52:51 +01:00 committed by Efraim Flashner
parent 2b181350ac
commit 9117b3c397
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -37981,8 +37981,31 @@ image together with its neighboring pixels.")
("rust-rayon" ,rust-rayon-1)
("rust-time" ,rust-time-0.2))))))
(define-public rust-lru-0.12
(package
(name "rust-lru")
(version "0.12.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "lru" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1myillpwqfcins062g28jvj48cxw8818zcx08ydzsl6misxfx519"))))
(build-system cargo-build-system)
(arguments
`(#: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 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
@ -37992,16 +38015,11 @@ image together with its neighboring pixels.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05yz4qqx7wxbhgxs5hx22j13g8mv9z3gn2pkspykyq48winx9rvi"))))
(build-system cargo-build-system)
(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))))
(home-page "https://github.com/jeromefroe/lru-rs")
(synopsis "LRU cache")
(description "This package provides a LRU cache implementation.")
(license license:expat)))
("rust-stats-alloc" ,rust-stats-alloc-0.1))))))
(define-public rust-lru-0.7
(package