gnu: Add rust-lru-0.7.

* gnu/packages/crates-io.scm (rust-lru-0.7): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Aleksandr Vityazev 2022-01-17 15:11:04 +00:00 committed by Nicolas Goaziou
parent eabb69807b
commit c7a519d449
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -30589,6 +30589,31 @@ (define-public rust-lopdf-0.26
"This package provides a Rust library for PDF document manipulation.")
(license license:expat)))
(define-public rust-lru-0.7
(package
(name "rust-lru")
(version "0.7.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "lru" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"07sdl7gpg30hbz7cgph75n2xl8915rshi90c7jqr5j9mi62m6hr7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-hashbrown" ,rust-hashbrown-0.11))
#: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)))
(define-public rust-lru-cache-0.1
(package
(name "rust-lru-cache")