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