18 lines
599 B
Nix
18 lines
599 B
Nix
{ cabal, hamlet, happstackServer, text }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "happstack-hamlet";
|
|
version = "7.0.1";
|
|
sha256 = "13ayypl2x402h6a7yq7fvgd2mn21gl5gcw2hk7f5vr2bdlvwv53n";
|
|
buildDepends = [ hamlet happstackServer text ];
|
|
patchPhase = ''
|
|
sed -i -e 's|hamlet .*,|hamlet,|' happstack-hamlet.cabal
|
|
'';
|
|
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;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|