From: "Daniel Meißner via Guix-patches via" <guix-patches@gnu.org>
To: 51784@debbugs.gnu.org
Cc: "Daniel Meißner" <daniel.meissner-i4k@ruhr-uni-bochum.de>
Subject: [bug#51784] [PATCH] gnu: Add ghc-lrucache.
Date: Fri, 12 Nov 2021 10:11:04 +0100 [thread overview]
Message-ID: <20211112091104.21189-1-daniel.meissner-i4k@ruhr-uni-bochum.de> (raw)
* 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
reply other threads:[~2021-11-12 9:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211112091104.21189-1-daniel.meissner-i4k@ruhr-uni-bochum.de \
--to=guix-patches@gnu.org \
--cc=51784@debbugs.gnu.org \
--cc=daniel.meissner-i4k@ruhr-uni-bochum.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.