@@ -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)))