mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
Merge pull request #3169 from fluffynukeit/add-haskell-snaplet-postgresql-simple
Added snapletPostgresqlSimple to haskellPackages.
This commit is contained in:
commit
65f1e8667d
|
@ -0,0 +1,19 @@
|
|||
{ cabal, hashable, MonadCatchIOTransformers, stm, time
|
||||
, transformers, transformersBase, vector
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "resource-pool-catchio";
|
||||
version = "0.2.1.0";
|
||||
sha256 = "0g9r6hnn01n3p2ikcfkfc4afh83pzam29zal3k2ivajpl3kramsw";
|
||||
buildDepends = [
|
||||
hashable MonadCatchIOTransformers stm time transformers
|
||||
transformersBase vector
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://github.com/norm2782/pool";
|
||||
description = "Fork of resource-pool, with a MonadCatchIO constraint";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
|
@ -0,0 +1,22 @@
|
|||
{ cabal, clientsession, configurator, errors
|
||||
, MonadCatchIOTransformers, mtl, postgresqlSimple
|
||||
, resourcePoolCatchio, snap, text, transformers
|
||||
, unorderedContainers
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "snaplet-postgresql-simple";
|
||||
version = "0.5";
|
||||
sha256 = "0pzn0lg1slrllrrx1n9s1kp1pmq2ahrkjypcwnnld8zxzvz4g5jm";
|
||||
buildDepends = [
|
||||
clientsession configurator errors MonadCatchIOTransformers mtl
|
||||
postgresqlSimple resourcePoolCatchio snap text transformers
|
||||
unorderedContainers
|
||||
];
|
||||
meta = {
|
||||
homepage = "https://github.com/mightybyte/snaplet-postgresql-simple";
|
||||
description = "postgresql-simple snaplet for the Snap Framework";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
|
@ -1926,6 +1926,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
|||
|
||||
resourcePool = callPackage ../development/libraries/haskell/resource-pool {};
|
||||
|
||||
resourcePoolCatchio = callPackage ../development/libraries/haskell/resource-pool-catchio {};
|
||||
|
||||
resourcet = callPackage ../development/libraries/haskell/resourcet {};
|
||||
|
||||
retry = callPackage ../development/libraries/haskell/retry {};
|
||||
|
@ -2006,6 +2008,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
|||
|
||||
snapletAcidState = callPackage ../development/libraries/haskell/snaplet-acid-state {};
|
||||
|
||||
snapletPostgresqlSimple = callPackage ../development/libraries/haskell/snaplet-postgresql-simple {};
|
||||
|
||||
snapletRedis = callPackage ../development/libraries/haskell/snaplet-redis {};
|
||||
|
||||
snapletStripe = callPackage ../development/libraries/haskell/snaplet-stripe {};
|
||||
|
|
Loading…
Reference in a new issue