From b02f1cc2a42924e468b659edbc4f79bf764a1b6b Mon Sep 17 00:00:00 2001 From: Jeremy Huffman Date: Sun, 23 Nov 2014 20:12:49 -0500 Subject: [PATCH] add higher-leveldb from hackage --- .../haskell/higher-leveldb/default.nix | 25 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/libraries/haskell/higher-leveldb/default.nix diff --git a/pkgs/development/libraries/haskell/higher-leveldb/default.nix b/pkgs/development/libraries/haskell/higher-leveldb/default.nix new file mode 100644 index 0000000000000..07afeea6a9285 --- /dev/null +++ b/pkgs/development/libraries/haskell/higher-leveldb/default.nix @@ -0,0 +1,25 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal, cereal, dataDefault, hspec, leveldbHaskell, liftedBase +, monadControl, mtl, resourcet, transformers, transformersBase +}: + +cabal.mkDerivation (self: { + pname = "higher-leveldb"; + version = "0.2.0.0"; + sha256 = "1al8l96ysmcjx3g93ryfr939jqhjqk8g5bvww5gj9mx6pdkqrcm3"; + buildDepends = [ + cereal dataDefault leveldbHaskell liftedBase monadControl mtl + resourcet transformers transformersBase + ]; + testDepends = [ + cereal hspec leveldbHaskell liftedBase monadControl mtl resourcet + transformers transformersBase + ]; + meta = { + homepage = "https://github.com/jeremyjh/higher-leveldb"; + description = "A rich monadic API for working with leveldb databases"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index b37ff75e0d461..3753b4902084f 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1105,6 +1105,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in hgal = callPackage ../development/libraries/haskell/hgal {}; + higherLeveldb = callPackage ../development/libraries/haskell/higher-leveldb {}; + hourglass = callPackage ../development/libraries/haskell/hourglass {}; hplayground = callPackage ../development/libraries/haskell/hplayground {};