nixpkgs/pkgs/development/libraries/haskell/happstack/happstack-data.nix
Peter Simons 5fb3ac1d5b haskell-happstack-data: patched to support current mtl and transformers
svn path=/nixpkgs/trunk/; revision=34287
2012-05-29 21:25:52 +00:00

25 lines
712 B
Nix

{ cabal, binary, mtl, syb, sybWithClass, sybWithClassInstancesText
, text, time
}:
cabal.mkDerivation (self: {
pname = "happstack-data";
version = "6.0.1";
sha256 = "0v2ln4mdnild72p02mzjn8mn5srvjixsjqjgkdqzshvxjnnm95l8";
isLibrary = true;
isExecutable = true;
buildDepends = [
binary mtl syb sybWithClass sybWithClassInstancesText text time
];
patchPhase = ''
sed -i -e 's|mtl >= 1.1 && < 2.1|mtl|' happstack-data.cabal
'';
meta = {
homepage = "http://happstack.com";
description = "Happstack data manipulation libraries";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})