mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
a30df95691
This change brings support for building and running the regressions test suites.
22 lines
716 B
Nix
22 lines
716 B
Nix
{ cabal, blazeBuilder, Cabal, HUnit, languageJavascript, QuickCheck
|
|
, testFramework, testFrameworkHunit, text
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hjsmin";
|
|
version = "0.1.4.1";
|
|
sha256 = "0r73hd6kn37mdbm2i3g6v3qqm696kyflqs6ajq68qr5sr62sjb1a";
|
|
buildDepends = [ blazeBuilder languageJavascript text ];
|
|
testDepends = [
|
|
blazeBuilder Cabal HUnit languageJavascript QuickCheck
|
|
testFramework testFrameworkHunit text
|
|
];
|
|
meta = {
|
|
homepage = "http://github.com/alanz/hjsmin";
|
|
description = "Haskell implementation of a javascript minifier";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|