diff --git a/pkgs/development/libraries/haskell/haskelldb/default.nix b/pkgs/development/libraries/haskell/haskelldb/default.nix new file mode 100644 index 000000000000..fde1d71b2b03 --- /dev/null +++ b/pkgs/development/libraries/haskell/haskelldb/default.nix @@ -0,0 +1,15 @@ +{ cabal, mtl, time }: + +cabal.mkDerivation (self: { + pname = "haskelldb"; + version = "2.2.2"; + sha256 = "1nwy05wsffagv62kbi8ahm6s591wal7cdl19p0fqi86qz05y9hkm"; + buildDepends = [ mtl time ]; + meta = { + homepage = "https://github.com/m4dc4p/haskelldb"; + description = "A library of combinators for generating and executing SQL statements"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.ocharles ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 747ce660b511..2c0b8ebf3dfe 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1170,6 +1170,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x hashtables = callPackage ../development/libraries/haskell/hashtables {}; + haskelldb = callPackage ../development/libraries/haskell/haskelldb {}; + haskeline = callPackage ../development/libraries/haskell/haskeline {}; haskelineClass = callPackage ../development/libraries/haskell/haskeline-class {};