[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
311/475: gnu: Add rust-associative-cache-1.
From: |
guix-commits |
Subject: |
311/475: gnu: Add rust-associative-cache-1. |
Date: |
Sun, 7 May 2023 12:47:46 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 639ef9e3572bbcee4331fdf546a4761e599ddb10
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Mar 22 10:35:25 2023 +0100
gnu: Add rust-associative-cache-1.
* gnu/packages/crates-io.scm (rust-associative-cache-1): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a52e02a746..eca776f136 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4251,6 +4251,29 @@ objects are the same.")
"This package asserts that a value matches a pattern in Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-associative-cache-1
+ (package
+ (name "rust-associative-cache")
+ (version "1.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "associative-cache" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "05lg0mwpqfqb9zh958x0358x1k5ngmmmbzjnp0imrd8vzhrn40a6"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; 2 doctests fail because rand is not declared
+ `(#:tests? #false
+ #:cargo-inputs (("rust-rand" ,rust-rand-0.7))))
+ (home-page "https://github.com/fitzgen/associative-cache")
+ (synopsis "Associative cache with fixed-size capacity")
+ (description
+ "This package provides a generic N-way associative cache with fixed-size
+capacity and random or least recently used (LRU) replacement.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-aster-0.41
(package
(name "rust-aster")
- 278/475: gnu: rust-arbitrary-1: Update to 1.2.3., (continued)
- 278/475: gnu: rust-arbitrary-1: Update to 1.2.3., guix-commits, 2023/05/07
- 283/475: gnu: rust-fixedbitset-0.4: Update to 0.4.2., guix-commits, 2023/05/07
- 285/475: gnu: rust-ring-0.14: Remove pregenerated files., guix-commits, 2023/05/07
- 292/475: gnu: libsequoia: Use existing rust-tokio-1., guix-commits, 2023/05/07
- 294/475: gnu: rust-libmimalloc-sys-0.1: Remove bundled libraries, executables., guix-commits, 2023/05/07
- 295/475: gnu: rust-tikv-jemalloc-sys-0.4: Remove bundled sources., guix-commits, 2023/05/07
- 299/475: gnu: rust: Remove more bundled sources., guix-commits, 2023/05/07
- 303/475: gnu: alfis: Add missing input., guix-commits, 2023/05/07
- 305/475: gnu: rbw: Add missing input., guix-commits, 2023/05/07
- 310/475: gnu: Add rust-funty-2., guix-commits, 2023/05/07
- 311/475: gnu: Add rust-associative-cache-1.,
guix-commits <=
- 262/475: gnu: fd: Update to 8.7.0., guix-commits, 2023/05/07
- 269/475: gnu: rust-signal-hook-0.3: Update to 0.3.15., guix-commits, 2023/05/07
- 273/475: gnu: Remove rust-tokio-1.8., guix-commits, 2023/05/07
- 272/475: gnu: rust-adblock: Update to 0.7.5., guix-commits, 2023/05/07
- 274/475: gnu: Add rust-mock-instant-0.2., guix-commits, 2023/05/07
- 271/475: gnu: rust-tokio-1: Update to 1.26.0., guix-commits, 2023/05/07
- 276/475: gnu: rust-aho-corasick-0.7: Update to 0.7.20., guix-commits, 2023/05/07
- 277/475: gnu: rust-anyhow-1: Update to 1.0.69., guix-commits, 2023/05/07
- 280/475: gnu: rust-bytes-1: Update to 1.4.0., guix-commits, 2023/05/07
- 282/475: gnu: rust-env-logger-0.9: Update to 0.9.3., guix-commits, 2023/05/07