[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38423] [PATCH 12/49] gnu: Add ghc-expiring-cache-map.
From: |
Robert Vollmert |
Subject: |
[bug#38423] [PATCH 12/49] gnu: Add ghc-expiring-cache-map. |
Date: |
Fri, 29 Nov 2019 12:37:14 +0100 |
* gnu/packages/haskell-xyz.scm (ghc-expiring-cache-map): New package.
---
gnu/packages/haskell-xyz.scm | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 3946129173..75adb3d7d4 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -13226,7 +13226,8 @@ data types.")
(build-system haskell-build-system)
(inputs
`(("ghc-base-prelude" ,ghc-base-prelude)
- ("ghc-semigroups" ,ghc-semigroups)))
+ ("ghc-semigroups" ,ghc-semigroups)
+ ("ghc-deferred-folds" ,ghc-deferred-folds)))
(native-inputs
`(("ghc-quickcheck" ,ghc-quickcheck)
("ghc-quickcheck-instances"
@@ -13342,3 +13343,33 @@ property associated with the type.")
(description
"Abstractions over deferred folds.")
(license license:expat)))
+
+(define-public ghc-expiring-cache-map
+ (package
+ (name "ghc-expiring-cache-map")
+ (version "0.0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+
"https://hackage.haskell.org/package/expiring-cache-map/expiring-cache-map-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1fb47hsn06ybn2yzw7r6pjkmvvfpbdx7wjhbpxcywilbjyac4fqf"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-hashable" ,ghc-hashable)
+ ("ghc-unordered-containers"
+ ,ghc-unordered-containers)))
+ (home-page
+ "https://github.com/elblake/expiring-cache-map")
+ (synopsis "General purpose simple caching.")
+ (description
+ "A simple general purpose shared state cache map with
+automatic expiration of values, for caching the results of
+accessing a resource such as reading a file. With variations
+for Ord and Hashable keys using Data.Map.Strict and Data.HashMap.Strict,
+respectively.")
+ (license license:bsd-3)))
--
2.21.0 (Apple Git-122.2)
- [bug#38423] add postgrest, Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 01/49] gnu: Add ghc-text-printer., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 06/49] gnu: Add ghc-deferred-folds., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 14/49] gnu: Add ghc-protolude., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 07/49] gnu: Add ghc-websockets., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 10/49] gnu: Add ghc-wai-middleware-static., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 12/49] gnu: Add ghc-expiring-cache-map.,
Robert Vollmert <=
- [bug#38423] [PATCH 03/49] gnu: Add ghc-text-builder., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 21/49] gnu: Add ghc-data-endian., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 05/49] gnu: Add ghc-data-checked., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 18/49] gnu: Add ghc-only., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 11/49] gnu: Add ghc-wai-app-static., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 09/49] gnu: Add ghc-wai-cors., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 08/49] gnu: Add ghc-wai-websockets., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 04/49] gnu: Add ghc-text-short., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 24/49] gnu: Add ghc-directory., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 19/49] gnu: Add ghc-data-bword., Robert Vollmert, 2019/11/29