mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
7165babaf1
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 ];
|
|
};
|
|
})
|