2014-01-25 15:52:42 +00:00
|
|
|
{ cabal, blazeBuilder, Cabal, HUnit, languageJavascript
|
|
|
|
, optparseApplicative, QuickCheck, testFramework
|
|
|
|
, testFrameworkHunit, text
|
2013-02-24 21:09:07 +00:00
|
|
|
}:
|
2011-08-07 23:51:22 +01:00
|
|
|
|
2011-08-10 00:00:20 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2011-08-07 23:51:22 +01:00
|
|
|
pname = "hjsmin";
|
2014-01-25 15:52:42 +00:00
|
|
|
version = "0.1.4.5";
|
|
|
|
sha256 = "0lzqs20kyngbjc7wqq347b1caj0hbf29dvdpxghfpjbrgyvyqh74";
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
|
|
|
blazeBuilder languageJavascript optparseApplicative text
|
|
|
|
];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [
|
|
|
|
blazeBuilder Cabal HUnit languageJavascript QuickCheck
|
|
|
|
testFramework testFrameworkHunit text
|
|
|
|
];
|
2011-08-07 23:51:22 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/alanz/hjsmin";
|
|
|
|
description = "Haskell implementation of a javascript minifier";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 10:54:50 +01:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-10 23:36:36 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-08-07 23:51:22 +01:00
|
|
|
};
|
|
|
|
})
|