GNU bug report logs - #71278
[PATCH rust-team 00/44] Add eww.

Previous Next

Package: guix-patches;

Reported by: Murilo <murilo <at> disroot.org>

Date: Thu, 30 May 2024 15:14:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Murilo <murilo <at> disroot.org>
To: 71278 <at> debbugs.gnu.org
Cc: Murilo <murilo <at> disroot.org>, Efraim Flashner <efraim <at> flashner.co.il>
Subject: [bug#71278] [PATCH 02/44] gnu: Add rust-cached-0.48.
Date: Thu, 30 May 2024 12:17:29 -0300
* gnu/packages/crates-io.scm (rust-cached-0.48): New variable.

Change-Id: Id217eab897f0fa5d85c1dc1987536a087de63fcb
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3b4da2d855..2709c3faf9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43,6 +43,7 @@
 ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
 ;;; Copyright © 2024 Suhail Singh <suhail <at> bayesians.ca>
 ;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us <at> ieee.org>
+;;; Copyright © 2024 Murilo <murilo <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -10462,6 +10463,34 @@ (define-public rust-cache-padded-1
 cached data.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-cached-0.48
+  (package
+    (name "rust-cached")
+    (version "0.48.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cached" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0pshxkggxh8r32mqg04ahz26gvf2nfmlhk41js5pfn6z83jsqprm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-instant" ,rust-instant-0.1)
+                       ("rust-hashbrown" ,rust-hashbrown-0.14)
+                       ("rust-cached-proc-macro-types" ,rust-cached-proc-macro-types-0.1)
+                       ("rust-cached-proc-macro" ,rust-cached-proc-macro-0.19)
+                       ("rust-ahash" ,rust-ahash-0.8))))
+    (home-page "https://github.com/jaemk/cached")
+    (synopsis
+     "Generic cache implementations and simplified function memoization")
+    (description
+     "Generic cache implementations and simplified function memoization")
+    (license license:expat)))
+
 (define-public rust-cachedir-0.3
   (package
     (name "rust-cachedir")
-- 
2.41.0





This bug report was last modified 1 year and 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.