nixpkgs/pkgs/development/libraries/haskell/happstack/happstack-util.nix
Peter Simons 8fad2b0a98 haskell-happstack-util: patched to support current mtl and transformers
svn path=/nixpkgs/trunk/; revision=34288
2012-05-29 21:26:09 +00:00

26 lines
728 B
Nix

{ cabal, extensibleExceptions, filepath, hslogger, mtl, network
, parsec, random, time, unixCompat
}:
cabal.mkDerivation (self: {
pname = "happstack-util";
version = "6.0.3";
sha256 = "0hqssd5wzir6rxn46q8r3hdp3nl7v5m7w322j39120xpg2bhiphh";
isLibrary = true;
isExecutable = true;
buildDepends = [
extensibleExceptions filepath hslogger mtl network parsec random
time unixCompat
];
patchPhase = ''
sed -i -e 's|mtl >= 1.1 && < 2.1|mtl|' happstack-util.cabal
'';
meta = {
homepage = "http://happstack.com";
description = "Web framework";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})