2012-02-16 15:05:41 +01:00
|
|
|
{ cabal, hamlet, happstackServer, text }:
|
2011-09-09 20:44:33 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "happstack-hamlet";
|
2012-03-29 22:52:37 +02:00
|
|
|
version = "7.0.0";
|
|
|
|
sha256 = "15r6xpyg193iwqin96mn7c9x5w7l8q9m3vbgiwv7bxvhdrl1dp7j";
|
2012-02-16 15:05:41 +01:00
|
|
|
buildDepends = [ hamlet happstackServer text ];
|
2012-04-05 18:51:59 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i 's|hamlet >= 0.10 && <0.11|hamlet|' happstack-hamlet.cabal
|
|
|
|
'';
|
2011-09-09 20:44:33 +02: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 11:21:28 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-09-09 20:44:33 +02:00
|
|
|
};
|
|
|
|
})
|