2012-02-16 14:05:41 +00:00
|
|
|
{ cabal, hamlet, happstackServer, text }:
|
2011-09-09 18:44:33 +00:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "happstack-hamlet";
|
2012-04-23 09:34:01 +00:00
|
|
|
version = "7.0.1";
|
|
|
|
sha256 = "13ayypl2x402h6a7yq7fvgd2mn21gl5gcw2hk7f5vr2bdlvwv53n";
|
2012-02-16 14:05:41 +00:00
|
|
|
buildDepends = [ hamlet happstackServer text ];
|
2012-08-17 09:07:14 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|hamlet .*,|hamlet,|' happstack-hamlet.cabal
|
|
|
|
'';
|
2011-09-09 18:44:33 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.happstack.com/";
|
|
|
|
description = "Support for Hamlet HTML templates in Happstack";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 10:21:28 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-09-09 18:44:33 +00:00
|
|
|
};
|
|
|
|
})
|