2013-09-15 18:23:23 +02:00
|
|
|
{ cabal, conduit, hspec, HUnit, monadControl, monadLogger
|
|
|
|
, persistent, persistentSqlite, persistentTemplate, QuickCheck
|
|
|
|
, resourcet, tagged, text, transformers, unorderedContainers
|
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "esqueleto";
|
2014-05-23 16:00:05 +02:00
|
|
|
version = "1.4.1.2";
|
|
|
|
sha256 = "1qny5c0xy2vdsl4qmgqr83jxqw1r68r81xhmx236rhxcffs9yvw2";
|
2013-09-15 18:23:23 +02:00
|
|
|
buildDepends = [
|
|
|
|
conduit monadLogger persistent resourcet tagged text transformers
|
|
|
|
unorderedContainers
|
|
|
|
];
|
|
|
|
testDepends = [
|
|
|
|
conduit hspec HUnit monadControl monadLogger persistent
|
2014-04-04 23:29:44 +02:00
|
|
|
persistentSqlite persistentTemplate QuickCheck resourcet text
|
|
|
|
transformers
|
2013-09-15 18:23:23 +02:00
|
|
|
];
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/meteficha/esqueleto";
|
2014-05-23 16:00:05 +02:00
|
|
|
description = "Type-safe EDSL for SQL queries on persistent backends";
|
2013-09-15 18:23:23 +02:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
|
|
|
|
};
|
|
|
|
})
|