From 6e3caafa89665c52f850dd48e3de2e452f496522 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Mon, 7 Nov 2022 18:42:47 +0000 Subject: [PATCH] hashmap: init at 1.3.3 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/hashmap.nix | 21 +++++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 pkgs/hashmap.nix diff --git a/manifest.dhall b/manifest.dhall index ac9011a6..77f8492e 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -364,6 +364,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "happy" "1.20.0" , callHackage "hashable" "1.4.1.0" , callHackage "hashing" "0.1.0.1" + , callHackage "hashmap" "1.3.3" , callHackage "hashtables" "1.3" , callHackage "haskell-lexer" "1.1" , callHackage "haskell-src-exts" "1.23.1" diff --git a/overlay.nix b/overlay.nix index 9a431a44..b23f3397 100644 --- a/overlay.nix +++ b/overlay.nix @@ -533,6 +533,8 @@ self: with pkgs.haskell.lib; { hashing = self.callPackage (./pkgs/hashing.nix) { }; + hashmap = self.callPackage (./pkgs/hashmap.nix) { }; + hashtables = self.callPackage (./pkgs/hashtables.nix) { }; haskell-lexer = self.callPackage (./pkgs/haskell-lexer.nix) { }; diff --git a/pkgs/hashmap.nix b/pkgs/hashmap.nix new file mode 100644 index 00000000..085caea4 --- /dev/null +++ b/pkgs/hashmap.nix @@ -0,0 +1,21 @@ +{ mkDerivation, base, containers, deepseq, hashable, lib }: +mkDerivation { + pname = "hashmap"; + version = "1.3.3"; + sha256 = "dc06b57cd1bcd656d4602df7705a3f11a54ae65f664e9be472d42a9bdcd64755"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base containers deepseq hashable ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/foxik/hashmap"; + description = "Persistent containers Map and Set based on hashing"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab