diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-05-23 23:37:33 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-05-25 15:48:05 -0500 |
commit | 02297beade7813c6a716e53a5f1373f1123d8753 (patch) | |
tree | 6f6f387ca8b053eb5d2ef6f000e7976672d94478 /pkgs/development/tools/yuicompressor/default.nix | |
parent | f22a63d533893b88e4b9d61e66291286ffa6ae92 (diff) | |
download | nixlib-02297beade7813c6a716e53a5f1373f1123d8753.tar nixlib-02297beade7813c6a716e53a5f1373f1123d8753.tar.gz nixlib-02297beade7813c6a716e53a5f1373f1123d8753.tar.bz2 nixlib-02297beade7813c6a716e53a5f1373f1123d8753.tar.lz nixlib-02297beade7813c6a716e53a5f1373f1123d8753.tar.xz nixlib-02297beade7813c6a716e53a5f1373f1123d8753.tar.zst nixlib-02297beade7813c6a716e53a5f1373f1123d8753.zip |
treewide: add version to packages
Lots of packages are missing versions in their name. This adds them where appropriate. These were found with this command: $ nix-env -qa -f. | grep -v '\-[0-9A-Za-z.-_+]*$' | grep -v '^hook$' See issue #41007.
Diffstat (limited to 'pkgs/development/tools/yuicompressor/default.nix')
-rw-r--r-- | pkgs/development/tools/yuicompressor/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/tools/yuicompressor/default.nix b/pkgs/development/tools/yuicompressor/default.nix index da9b9df3cd4e..1cf381beb617 100644 --- a/pkgs/development/tools/yuicompressor/default.nix +++ b/pkgs/development/tools/yuicompressor/default.nix @@ -1,10 +1,10 @@ { stdenv, fetchurl, makeWrapper, jre }: stdenv.mkDerivation rec { - name = "yuicompressor"; + name = "yuicompressor-${version}"; version = "2.4.8"; src = fetchurl { - url = "http://github.com/yui/yuicompressor/releases/download/v${version}/${name}-${version}.jar"; + url = "http://github.com/yui/yuicompressor/releases/download/v${version}/${name}.jar"; sha256 = "1qjxlak9hbl9zd3dl5ks0w4zx5z64wjsbk7ic73r1r45fasisdrh"; }; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { buildCommand = '' mkdir -p $out/{bin,lib} ln -s $src $out/lib/yuicompressor.jar - makeWrapper ${jre}/bin/java $out/bin/${name} --add-flags \ + makeWrapper ${jre}/bin/java $out/bin/yuicompressor --add-flags \ "-cp $out/lib/yuicompressor.jar com.yahoo.platform.yui.compressor.YUICompressor" ''; } |