mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
19 lines
599 B
Nix
19 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 ];
|
|
};
|
|
})
|