mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
activator: add version 1.3.2
This commit is contained in:
parent
2a1c342887
commit
f02284a361
31
pkgs/development/tools/activator/default.nix
Normal file
31
pkgs/development/tools/activator/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -4974,6 +4974,8 @@ let
|
||||
|
||||
### DEVELOPMENT / TOOLS
|
||||
|
||||
activator = callPackage ../development/tools/activator { };
|
||||
|
||||
alloy = callPackage ../development/tools/alloy { };
|
||||
|
||||
augeas = callPackage ../tools/system/augeas { };
|
||||
|
Loading…
Reference in New Issue
Block a user