nixpkgs-suyu/pkgs/development/libraries/haskell/hjsmin/default.nix
Peter Simons a30df95691 Re-generate all Haskell packages with the latest version of cabal2nix.
This change brings support for building and running the regressions test suites.
2013-02-25 00:32:40 +01:00

21 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 ];
};
})