activator: add version 1.3.2

This commit is contained in:
Edward Tjörnhammar 2015-05-26 20:50:05 +02:00
parent 2a1c342887
commit f02284a361
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, fetchurl, unzip, jre }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "activator";
version = "1.3.2";
src = fetchurl {
url = "http://downloads.typesafe.com/typesafe-${pname}/${version}/typesafe-${name}.zip";
sha256 = "0a6x4w63829fbp13gk1l37p6di11lfmgla26gqnr065vzpkg90y6";
};
buildInputs = [ unzip jre ];
installPhase = ''
mkdir -p $out/{bin,lib}
mv repository $out/lib
sed -i -e "s,declare.*activator_home.*=.*,declare -r activator_home=$out/lib/,g" activator
mv activator $out/bin
mv activator-launch-${version}.jar $out/lib
'';
meta = with stdenv.lib; {
description = "A scafollding tool for setting up reactive projects";
homepage = "http://typesafe.com/activator";
license = licenses.asl20;
maintainers = with maintainers; [ edwtjo ];
};
}

View File

@ -4974,6 +4974,8 @@ let
### DEVELOPMENT / TOOLS
activator = callPackage ../development/tools/activator { };
alloy = callPackage ../development/tools/alloy { };
augeas = callPackage ../tools/system/augeas { };