GNU bug report logs - #51784
[PATCH] gnu: Add ghc-lrucache.

Previous Next

Package: guix-patches;

Reported by: Daniel Meißner <daniel.meissner-i4k <at> ruhr-uni-bochum.de>

Date: Fri, 12 Nov 2021 09:12:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 51784 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#51784; Package guix-patches. (Fri, 12 Nov 2021 09:12:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Meißner <daniel.meissner-i4k <at> ruhr-uni-bochum.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 12 Nov 2021 09:12:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Daniel Meißner
 <daniel.meissner-i4k <at> ruhr-uni-bochum.de>
To: guix-patches <at> gnu.org
Cc: Daniel Meißner <daniel.meissner-i4k <at> ruhr-uni-bochum.de>
Subject: [PATCH] gnu: Add ghc-lrucache.
Date: Fri, 12 Nov 2021 10:11:04 +0100
* gnu/packages/haskell-xyz.scm (ghc-lrucache): New variable.
---
 gnu/packages/haskell-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index ae077f7400..d8382252d0 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16683,3 +16683,25 @@ (define-public ghc-singleton-bool
      "This package provides Type-level booleans.")
     (license license:bsd-3)))
 
+(define-public ghc-lrucache
+  (package
+    (name "ghc-lrucache")
+    (version "1.2.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/lrucache/lrucache-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32 "11avhnjnb89rvn2s41jhh5r40zgp7r6kb5c0hcfiibpabqvv46pw"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-contravariant" ,ghc-contravariant)))
+    (home-page "https://github.com/chowells79/lrucache")
+    (synopsis "Simple, Pure LRU cache")
+    (description
+     "This package contains a simple, pure LRU cache, implemented in terms of
+@code{Data.Map}.  It also contains a mutable IO wrapper providing atomic
+updates to an LRU cache.")
+    (license license:bsd-3)))
-- 
2.33.1





This bug report was last modified 2 years and 163 days ago.

Previous Next


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