forked from mirrors/nixpkgs
a30df95691
This change brings support for building and running the regressions test suites.
21 lines
710 B
Nix
21 lines
710 B
Nix
{ cabal, blazeBuilder, blazeHtml, blazeMarkup, failure, hspec
|
|
, HUnit, parsec, shakespeare, text
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hamlet";
|
|
version = "1.1.6.3";
|
|
sha256 = "1kpj8j47licmdf364n0fn5908hsl6ib1wkiqhcx3m0nimb7pjnss";
|
|
buildDepends = [
|
|
blazeBuilder blazeHtml blazeMarkup failure parsec shakespeare text
|
|
];
|
|
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 ];
|
|
};
|
|
})
|