gnu: Add rust-lru-0.9.

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

Change-Id: I930762a081e9511eef6e18498bb27e15e6d1dbcc
This commit is contained in:
Efraim Flashner 2023-10-25 09:55:00 +03:00
parent 9f5ab70c03
commit 5b83710671
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -41134,23 +41134,20 @@ (define-public rust-lopdf-0.26
("rust-rayon" ,rust-rayon-1)
("rust-time" ,rust-time-0.2))))))
(define-public rust-lru-0.7
(define-public rust-lru-0.9
(package
(name "rust-lru")
(version "0.7.2")
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "lru" version))
(file-name
(string-append name "-" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"07sdl7gpg30hbz7cgph75n2xl8915rshi90c7jqr5j9mi62m6hr7"))))
(base32 "05yz4qqx7wxbhgxs5hx22j13g8mv9z3gn2pkspykyq48winx9rvi"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-hashbrown" ,rust-hashbrown-0.11))
`(#: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))))
@ -41159,6 +41156,25 @@ (define-public rust-lru-0.7
(description "This package provides a LRU cache implementation.")
(license license:expat)))
(define-public rust-lru-0.7
(package
(inherit rust-lru-0.9)
(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"))))
(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))))))
(define-public rust-lru-cache-0.1
(package
(name "rust-lru-cache")