Merge pull request #16957 from holidaycheck/galen-2.3.0

galen: 2.2.4 -> 2.3.0
This commit is contained in:
Arseniy Seroka 2016-07-14 22:19:58 +04:00 committed by GitHub
commit 5a9a71fb2c

View File

@ -1,15 +1,15 @@
{ stdenv, fetchurl, jdk, unzip }:
{ stdenv, fetchurl, jre8, unzip }:
stdenv.mkDerivation rec {
pname = "galen";
version = "2.2.4";
version = "2.3.0";
name = "${pname}-${version}";
inherit jdk;
inherit jre8;
src = fetchurl {
url = "https://github.com/galenframework/galen/releases/download/galen-${version}/galen-bin-${version}.zip";
sha256 = "0qx6pza6aw880ph76wbypcgy983pln8k4ad2indagb5qhiz4zw1d";
sha256 = "10z7vh3jiq7kbzzp3j0354swkr4xxz9qimi5c5bddbiy671k6cra";
};
buildInputs = [ unzip ];
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
cat galen | sed -e "s,java,$jdk/bin/java," > $out/bin/galen
cat galen | sed -e "s,java,$jre8/bin/java," > $out/bin/galen
chmod +x $out/bin/galen
cp galen.jar $out/bin
'';