From 1252a3707baece8ccfe02554a0fa973992801226 Mon Sep 17 00:00:00 2001 From: Ben Zhang Date: Sat, 11 Mar 2017 12:37:05 -0500 Subject: [PATCH] closurecompiler: 20160208 -> 20170218 --- pkgs/development/compilers/closure/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/compilers/closure/default.nix b/pkgs/development/compilers/closure/default.nix index 949008d990f8..86e04b491e57 100644 --- a/pkgs/development/compilers/closure/default.nix +++ b/pkgs/development/compilers/closure/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "closure-compiler-${version}"; - version = "20160208"; + version = "20170218"; src = fetchurl { url = "http://dl.google.com/closure-compiler/compiler-${version}.tar.gz"; - sha256 = "19v9z8lfxfmhc4cl9fys7vnaslqiznjy1jpk5mcv468p7vysg46p"; + sha256 = "06snabmpy07x4xm8d1xgq5dfzbjli10xkxk3nx9jms39zkj493cd"; }; phases = [ "installPhase" ]; @@ -16,9 +16,9 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p $out/share/java $out/bin tar -xzf $src - cp -r compiler.jar $out/share/java/ + cp -r closure-compiler-v${version}.jar $out/share/java/ echo "#!${bash}/bin/bash" > $out/bin/closure-compiler - echo "${jre}/bin/java -jar $out/share/java/compiler.jar \"\$@\"" >> $out/bin/closure-compiler + echo "${jre}/bin/java -jar $out/share/java/closure-compiler-v${version}.jar \"\$@\"" >> $out/bin/closure-compiler chmod +x $out/bin/closure-compiler '';