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