mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-02 08:07:29 +01:00
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:
parent
9f5ab70c03
commit
5b83710671
1 changed files with 24 additions and 8 deletions
|
@ -41134,23 +41134,20 @@ (define-public rust-lopdf-0.26
|
||||||
("rust-rayon" ,rust-rayon-1)
|
("rust-rayon" ,rust-rayon-1)
|
||||||
("rust-time" ,rust-time-0.2))))))
|
("rust-time" ,rust-time-0.2))))))
|
||||||
|
|
||||||
(define-public rust-lru-0.7
|
(define-public rust-lru-0.9
|
||||||
(package
|
(package
|
||||||
(name "rust-lru")
|
(name "rust-lru")
|
||||||
(version "0.7.2")
|
(version "0.9.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "lru" version))
|
(uri (crate-uri "lru" version))
|
||||||
(file-name
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(string-append name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "05yz4qqx7wxbhgxs5hx22j13g8mv9z3gn2pkspykyq48winx9rvi"))))
|
||||||
"07sdl7gpg30hbz7cgph75n2xl8915rshi90c7jqr5j9mi62m6hr7"))))
|
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13))
|
||||||
(("rust-hashbrown" ,rust-hashbrown-0.11))
|
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
|
(("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
|
||||||
("rust-stats-alloc" ,rust-stats-alloc-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.")
|
(description "This package provides a LRU cache implementation.")
|
||||||
(license license:expat)))
|
(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
|
(define-public rust-lru-cache-0.1
|
||||||
(package
|
(package
|
||||||
(name "rust-lru-cache")
|
(name "rust-lru-cache")
|
||||||
|
|
Loading…
Reference in a new issue