nixpkgs/pkgs/development/libraries/haskell/esqueleto/default.nix

27 lines
908 B
Nix
Raw Normal View History

{ cabal, conduit, hspec, HUnit, monadControl, monadLogger
, persistent, persistentSqlite, persistentTemplate, QuickCheck
, resourcet, tagged, text, transformers, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "esqueleto";
version = "1.4.1.2";
sha256 = "1qny5c0xy2vdsl4qmgqr83jxqw1r68r81xhmx236rhxcffs9yvw2";
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 = "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 ];
};
})