[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68312] [PATCH 074/156] gnu: Add rust-lru-0.12.
From: |
Wilko Meyer |
Subject: |
[bug#68312] [PATCH 074/156] gnu: Add rust-lru-0.12. |
Date: |
Mon, 8 Jan 2024 02:52:51 +0100 |
* gnu/packages/crates-io.scm (rust-lru-0.12): New variable.
(rust-lru-0.19): Inherit from rust-lru-0.12.
Change-Id: I66d64ecb06fb2ed43d75142fa9002dfe60138262
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c3cadfd7d3..8fc766d971a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39267,8 +39267,29 @@ (define-public rust-lopdf-0.26
("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
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.14))))
+ (home-page "https://github.com/jeromefroe/lru-rs")
+ (synopsis "A 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
@@ -39278,16 +39299,11 @@ (define-public rust-lru-0.9
(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
--
2.41.0
- [bug#68312] [PATCH 052/156] gnu: Add rust-elliptic-curve-0.12., (continued)
- [bug#68312] [PATCH 052/156] gnu: Add rust-elliptic-curve-0.12., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 059/156] gnu: Add rust-futures-intrusive-0.5., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 063/156] gnu: Add rust-iri-string-0.7., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 060/156] gnu: Add rust-group-0.12., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 064/156] gnu: Add rust-inlinable-string-0.1., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 066/156] gnu: Add rust-interim-0.1., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 069/156] gnu: Add rust-rust-json5-0.4., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 070/156] gnu: Add rust-libsqlite3-sys-0.27., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 071/156] gnu: Add rust-logos-codegen-0.13., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 073/156] gnu: Add rust-logos-0.13., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 074/156] gnu: Add rust-lru-0.12.,
Wilko Meyer <=
- [bug#68312] [PATCH 079/156] gnu: Add rust-memmem-0.1., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 080/156] gnu: Add rust-merlin-3., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 076/156] gnu: Add rust-mach2-0.4., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 077/156] gnu: Add rust-mac-address-1., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 091/156] gnu: Add rust-p384-0.11., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 083/156] gnu: Add rust-metrics-macros-0.7., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 087/156] gnu: Add rust-multer-2., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 082/156] gnu: Add rust-metrics-exporter-prometheus-0.12., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 093/156] gnu: Add rust-pear-0.2., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 090/156] gnu: Add rust-ordered-multimap-0.4., Wilko Meyer, 2024/01/07