Add expression for the YUI compressor
This commit is contained in:
parent
40471227a9
commit
cfb7884719
2 changed files with 24 additions and 0 deletions
23
pkgs/development/tools/yuicompressor/default.nix
Normal file
23
pkgs/development/tools/yuicompressor/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "yuicompressor";
|
||||
version = "2.4.8";
|
||||
src = fetchurl {
|
||||
url = "http://github.com/yui/yuicompressor/releases/download/v${version}/${name}-${version}.jar";
|
||||
sha256 = "1qjxlak9hbl9zd3dl5ks0w4zx5z64wjsbk7ic73r1r45fasisdrh";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A JavaScript and CSS minifier";
|
||||
maintainers = [ stdenv.lib.maintainers.jwiegley ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
homepage = http://yui.github.io/yuicompressor/;
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
ensureDir $out/lib
|
||||
ln -s $src $out/lib/yuicompressor.jar
|
||||
'';
|
||||
}
|
|
@ -6315,6 +6315,7 @@ let
|
|||
|
||||
jquery_ui = callPackage ../development/libraries/javascript/jquery-ui { };
|
||||
|
||||
yuicompressor = callPackage ../development/tools/yuicompressor { };
|
||||
|
||||
### DEVELOPMENT / LISP MODULES
|
||||
|
||||
|
|
Loading…
Reference in a new issue