guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

96/134: gnu: Add rust-lru-0.7.


From: guix-commits
Subject: 96/134: gnu: Add rust-lru-0.7.
Date: Sat, 22 Jan 2022 07:39:49 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit c7a519d4490777ad93b6fe575837abbad7716fc6
Author: Aleksandr Vityazev <avityazev@posteo.org>
AuthorDate: Mon Jan 17 15:11:04 2022 +0000

    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>
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 356d2c8ab5..8e0120773c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30589,6 +30589,31 @@ image together with its neighboring pixels.")
      "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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]