26 lines
906 B
Nix
26 lines
906 B
Nix
{ cabal, conduit, hspec, HUnit, monadControl, monadLogger
|
|
, persistent, persistentSqlite, persistentTemplate, QuickCheck
|
|
, resourcet, tagged, text, transformers, unorderedContainers
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "esqueleto";
|
|
version = "1.3.4.2";
|
|
sha256 = "1gp0jy8ra11ansari659wqvwafw1pi2svl3w16wa5dv9xk3v9pr6";
|
|
buildDepends = [
|
|
conduit monadLogger persistent resourcet tagged text transformers
|
|
unorderedContainers
|
|
];
|
|
testDepends = [
|
|
conduit hspec HUnit monadControl monadLogger persistent
|
|
persistentSqlite persistentTemplate QuickCheck text transformers
|
|
];
|
|
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 ];
|
|
};
|
|
})
|