mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
40f7b0f9df
See c556a6ea46
.
24 lines
641 B
Nix
24 lines
641 B
Nix
{ 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 = ''
|
|
mkdir -p $out/lib
|
|
ln -s $src $out/lib/yuicompressor.jar
|
|
'';
|
|
}
|