sbt-0.12.4: add an older stable version (#23933)

This commit is contained in:
Sergii Paryzhskyi 2017-03-15 22:17:23 +01:00 committed by zimbatm
parent c8ddac7c76
commit 18a272ef75
3 changed files with 32 additions and 1 deletions

View File

@ -204,6 +204,7 @@
havvy = "Ryan Scheel <ryan.havvy@gmail.com>"; havvy = "Ryan Scheel <ryan.havvy@gmail.com>";
hbunke = "Hendrik Bunke <bunke.hendrik@gmail.com>"; hbunke = "Hendrik Bunke <bunke.hendrik@gmail.com>";
hce = "Hans-Christian Esperer <hc@hcesperer.org>"; hce = "Hans-Christian Esperer <hc@hcesperer.org>";
heel = "Sergii Paryzhskyi <parizhskiy@gmail.com>";
henrytill = "Henry Till <henrytill@gmail.com>"; henrytill = "Henry Till <henrytill@gmail.com>";
hinton = "Tom Hinton <t@larkery.com>"; hinton = "Tom Hinton <t@larkery.com>";
hrdinka = "Christoph Hrdinka <c.nix@hrdinka.at>"; hrdinka = "Christoph Hrdinka <c.nix@hrdinka.at>";

View 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;
};
}

View File

@ -6765,6 +6765,7 @@ with pkgs;
scons = callPackage ../development/tools/build-managers/scons { }; 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 { }; sbt = callPackage ../development/tools/build-managers/sbt { };
simpleBuildTool = sbt; simpleBuildTool = sbt;