guix-commits
[Top][All Lists]
Advanced

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

17/33: gnu: Add rust-lru-0.9.


From: guix-commits
Subject: 17/33: gnu: Add rust-lru-0.9.
Date: Wed, 25 Oct 2023 05:36:42 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 99cd5c817b474cbe2855b199fced999a9b69a730
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 25 09:55:00 2023 +0300

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 64cfa67c0a..13401c2fae 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41119,23 +41119,20 @@ image together with its neighboring pixels.")
         ("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))))
@@ -41144,6 +41141,25 @@ image together with its neighboring pixels.")
     (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")



reply via email to

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