diff --git a/pkgs/development/libraries/haskell/dbmigrations/default.nix b/pkgs/development/libraries/haskell/dbmigrations/default.nix new file mode 100644 index 000000000000..10b3737d88a2 --- /dev/null +++ b/pkgs/development/libraries/haskell/dbmigrations/default.nix @@ -0,0 +1,21 @@ +{ cabal, configurator, fgl, filepath, HDBC, HDBCPostgresql +, HDBCSqlite3, HUnit, mtl, random, text, time, yamlLight +}: + +cabal.mkDerivation (self: { + pname = "dbmigrations"; + version = "0.7"; + sha256 = "1mpmka6jszip8sm8k9mrk0fg1q7wp36n0szyiqy7fnbzijfw0xlz"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + configurator fgl filepath HDBC HDBCPostgresql HDBCSqlite3 HUnit mtl + random text time yamlLight + ]; + meta = { + description = "An implementation of relational database \"migrations\""; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.ocharles ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/yaml-light/default.nix b/pkgs/development/libraries/haskell/yaml-light/default.nix new file mode 100644 index 000000000000..0d12f7f28357 --- /dev/null +++ b/pkgs/development/libraries/haskell/yaml-light/default.nix @@ -0,0 +1,14 @@ +{ cabal, HsSyck }: + +cabal.mkDerivation (self: { + pname = "yaml-light"; + version = "0.1"; + sha256 = "1p1swas1nhmnkj82msglacgqa5xwg18vya6jirb2a2ywny8r80rx"; + buildDepends = [ HsSyck ]; + meta = { + description = "A light-weight wrapper with utility functions around HsSyck"; + 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 e4fa4b824039..677c4aa1c3e5 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -882,6 +882,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x DAV = callPackage ../development/libraries/haskell/DAV {}; + dbmigrations = callPackage ../development/libraries/haskell/dbmigrations {}; + dbus = callPackage ../development/libraries/haskell/dbus {}; deepseq_1_1_0_0 = callPackage ../development/libraries/haskell/deepseq/1.1.0.0.nix {}; @@ -2475,6 +2477,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x yaml = callPackage ../development/libraries/haskell/yaml {}; + yamlLight = callPackage ../development/libraries/haskell/yaml-light {}; + yap = callPackage ../development/libraries/haskell/yap {}; yeganesh = callPackage ../applications/misc/yeganesh {};