sbt-0.12.4: add an older stable version (#23933)
This commit is contained in:
parent
c8ddac7c76
commit
18a272ef75
@ -204,6 +204,7 @@
|
||||
havvy = "Ryan Scheel <ryan.havvy@gmail.com>";
|
||||
hbunke = "Hendrik Bunke <bunke.hendrik@gmail.com>";
|
||||
hce = "Hans-Christian Esperer <hc@hcesperer.org>";
|
||||
heel = "Sergii Paryzhskyi <parizhskiy@gmail.com>";
|
||||
henrytill = "Henry Till <henrytill@gmail.com>";
|
||||
hinton = "Tom Hinton <t@larkery.com>";
|
||||
hrdinka = "Christoph Hrdinka <c.nix@hrdinka.at>";
|
||||
|
29
pkgs/development/tools/build-managers/sbt/0.12.4.nix
Normal file
29
pkgs/development/tools/build-managers/sbt/0.12.4.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchurl, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sbt-${version}";
|
||||
version = "0.12.14";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.bintray.com/sbt/native-packages/sbt/${version}/${name}.tgz";
|
||||
sha256 = "5907af5a3db5e9090024c91e8b6189cd2143841b08c4688542a2efbc9023ac1a";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
echo -java-home ${jre.home} >>conf/sbtopts
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/sbt $out/bin
|
||||
cp -ra . $out/share/sbt
|
||||
ln -s $out/share/sbt/bin/sbt $out/bin/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.scala-sbt.org/;
|
||||
license = licenses.bsd3;
|
||||
description = "A build tool for Scala, Java and more";
|
||||
maintainers = with maintainers; [ heel ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -6765,6 +6765,7 @@ with pkgs;
|
||||
|
||||
scons = callPackage ../development/tools/build-managers/scons { };
|
||||
|
||||
sbt_0_12_4 = callPackage ../development/tools/build-managers/0.12.4.nix { };
|
||||
sbt = callPackage ../development/tools/build-managers/sbt { };
|
||||
simpleBuildTool = sbt;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user