activator: 1.3.5 -> 1.3.10
This commit is contained in:
parent
323eb06499
commit
5e226cd66e
@ -4,28 +4,28 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "activator";
|
pname = "activator";
|
||||||
version = "1.3.5";
|
version = "1.3.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://downloads.typesafe.com/typesafe-${pname}/${version}/typesafe-${name}.zip";
|
url = "http://downloads.typesafe.com/typesafe-${pname}/${version}/typesafe-${name}.zip";
|
||||||
sha256 = "19mcrp1ky652wwh3360ia0irc0c2xjcnn9rdal1rmkkzsqn4jx0b";
|
sha256 = "43693f041c8422ee06a2a90a805fd7b0e258dc85da31f0a4dca340dfd119b4ce";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip jre ];
|
buildInputs = [ unzip jre ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/{bin,lib}
|
mkdir -p $out/{bin,lib,libexec}
|
||||||
mv repository $out/lib
|
mv repository $out/lib
|
||||||
sed -i -e "s,declare.*activator_home.*=.*,declare -r activator_home=$out/lib/,g" activator
|
sed -i -e "s,declare.*activator_home.*=.*,declare -r activator_home=$out/lib/,g" bin/activator
|
||||||
mv activator $out/bin
|
mv bin/activator $out/bin
|
||||||
mv activator-launch-${version}.jar $out/lib
|
mv libexec/activator-launch-${version}.jar $out/libexec
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A scafollding tool for setting up reactive projects";
|
description = "A scafollding tool for setting up reactive projects";
|
||||||
homepage = "http://typesafe.com/activator";
|
homepage = "http://typesafe.com/activator";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ edwtjo ];
|
maintainers = with maintainers; [ edwtjo cko ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user