From cc67085077c06b560840d24b3d00624313904206 Mon Sep 17 00:00:00 2001 From: Josselin Poiret Date: Wed, 1 Mar 2023 16:32:31 +0100 Subject: gnu: Add ghc-vector-hashtables. * gnu/packages/haskell-xyz.scm (ghc-vector-hashtables): New variable. --- gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/haskell-xyz.scm') diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 9852fdcc8b..a819698710 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13329,6 +13329,27 @@ (define-public ghc-vector-builder vector.") (license license:expat))) +(define-public ghc-vector-hashtables + (package + (name "ghc-vector-hashtables") + (version "0.1.1.2") + (source (origin + (method url-fetch) + (uri (hackage-uri "vector-hashtables" version)) + (sha256 + (base32 + "0hrjvy9qg1m5g3w91zxy4syqmp8jk7ajjbxbzkhy282dwfigkyd2")))) + (build-system haskell-build-system) + (inputs (list ghc-primitive ghc-vector ghc-hashable)) + (native-inputs (list ghc-hspec ghc-quickcheck ghc-quickcheck-instances + hspec-discover)) + (home-page "https://github.com/klapaucius/vector-hashtables#readme") + (synopsis "Efficient vector-based mutable hashtables implementation") + (description + "This package provides efficient vector-based hashtable implementation +similar to .NET Generic Dictionary implementation (at the time of 2015).") + (license license:bsd-3))) + (define-public ghc-vector-th-unbox (package (name "ghc-vector-th-unbox") -- cgit v1.2.3