2012-02-16 14:05:41 +00:00
|
|
|
{ cabal, extensibleExceptions, filepath, hslogger, mtl, network
|
|
|
|
, parsec, random, time, unixCompat
|
2011-08-09 23:00:20 +00:00
|
|
|
}:
|
2010-04-15 18:10:42 +00:00
|
|
|
|
2011-08-09 23:00:20 +00:00
|
|
|
cabal.mkDerivation (self: {
|
2011-08-07 18:23:40 +00:00
|
|
|
pname = "happstack-util";
|
2012-02-01 10:39:57 +00:00
|
|
|
version = "6.0.3";
|
|
|
|
sha256 = "0hqssd5wzir6rxn46q8r3hdp3nl7v5m7w322j39120xpg2bhiphh";
|
2011-08-09 23:00:20 +00:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2012-02-16 14:05:41 +00:00
|
|
|
extensibleExceptions filepath hslogger mtl network parsec random
|
|
|
|
time unixCompat
|
2011-08-09 23:00:20 +00:00
|
|
|
];
|
2012-05-29 21:26:09 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|mtl >= 1.1 && < 2.1|mtl|' happstack-util.cabal
|
|
|
|
'';
|
2011-08-07 18:23:40 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://happstack.com";
|
|
|
|
description = "Web framework";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 09:54:50 +00:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 10:21:28 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-08-07 18:23:40 +00:00
|
|
|
};
|
2010-04-15 18:10:42 +00:00
|
|
|
})
|