From 6dfbee96ebd66c2477c426617877c5f5d2c2e00c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 25 Nov 2011 13:44:24 +0000 Subject: [PATCH] haskell-hashtables: added version 1.0.0.0 svn path=/nixpkgs/trunk/; revision=30558 --- .../libraries/haskell/hashtables/default.nix | 18 ++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/haskell/hashtables/default.nix diff --git a/pkgs/development/libraries/haskell/hashtables/default.nix b/pkgs/development/libraries/haskell/hashtables/default.nix new file mode 100644 index 00000000000..809b0cefbf7 --- /dev/null +++ b/pkgs/development/libraries/haskell/hashtables/default.nix @@ -0,0 +1,18 @@ +{ cabal, hashable, primitive, vector }: + +cabal.mkDerivation (self: { + pname = "hashtables"; + version = "1.0.0.0"; + sha256 = "1i7hf7cfj1gqkb4h00a4frflxw3af7rdd1h0pdlv18clinsk6668"; + buildDepends = [ hashable primitive vector ]; + meta = { + homepage = "http://github.com/gregorycollins/hashtables"; + description = "Mutable hash tables in the ST monad"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 7bb0490b1e5..4f7da41cdb4 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -677,6 +677,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); hashedStorage = callPackage ../development/libraries/haskell/hashed-storage {}; + hashtables = callPackage ../development/libraries/haskell/hashtables {}; + haskeline = callPackage ../development/libraries/haskell/haskeline {}; haskelineClass = callPackage ../development/libraries/haskell/haskeline-class {};