nixpkgs/pkgs/development/libraries/haskell/hamlet/default.nix
2014-02-28 13:01:01 +01:00

22 lines
784 B
Nix

{ cabal, blazeBuilder, blazeHtml, blazeMarkup, failure, hspec
, HUnit, parsec, shakespeare, systemFileio, systemFilepath, text
, time
}:
cabal.mkDerivation (self: {
pname = "hamlet";
version = "1.1.9.2";
sha256 = "122wfkk23a2bvz29hrgxj24k6cf315fwdbz70ih3nclawh0bhani";
buildDepends = [
blazeBuilder blazeHtml blazeMarkup failure parsec shakespeare
systemFileio systemFilepath text time
];
testDepends = [ blazeHtml blazeMarkup hspec HUnit parsec text ];
meta = {
homepage = "http://www.yesodweb.com/book/shakespearean-templates";
description = "Haml-like template files that are compile-time checked";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})