@@ -1,32 +0,0 @@
1−{ stdenv, fetchurl, unzip, jre }:
2−
3−stdenv.mkDerivation rec {
4−
5− name = "${pname}-${version}";
6− pname = "activator";
7− version = "1.3.12";
8−
9− src = fetchurl {
10− url = "http://downloads.typesafe.com/typesafe-${pname}/${version}/typesafe-${name}.zip";
11− sha256 = "0c7mxznfgvywnyvr8l5jh4cp67ila5cdq14p6jwrkh6lwif3ah1p";
12− };
13−
14− buildInputs = [ unzip jre ];
15−
16− installPhase = ''
17− mkdir -p $out/{bin,lib,libexec}
18− mv repository $out/lib
19− sed -i -e "s,declare.*activator_home.*=.*,declare -r activator_home=$out/lib/,g" bin/activator
20− mv bin/activator $out/bin
21− mv libexec/activator-launch-${version}.jar $out/libexec
22− '';
23−
24− meta = with stdenv.lib; {
25− description = "A scafollding tool for setting up reactive projects";
26− homepage = "http://typesafe.com/activator";
27− license = licenses.asl20;
28− maintainers = with maintainers; [ edwtjo cko ];
29− platforms = with platforms; unix;
30− };
31−
32−}