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-10 00:18:09 +02:00
|
|
|
version = "1.4.1";
|
|
|
|
sha256 = "0b2gwsd6014fhmq8lipc299n6ndak7fv6dmrvi9vgasw0a665ryj";
|
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";
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
})
|