Skip to content

Commit

Permalink
sbt: 1.0.3 -> 1.0.4
Browse files Browse the repository at this point in the history
(cherry picked from commit 3cb310a)
  • Loading branch information
NeQuissimus committed Nov 26, 2017
1 parent eb08538 commit 3c93a19
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions pkgs/development/tools/build-managers/sbt/default.nix
@@ -1,23 +1,20 @@
{ stdenv, fetchurl, jre, bc }:
{ stdenv, fetchurl, jre }:

stdenv.mkDerivation rec {
name = "sbt-${version}";
version = "1.0.3";
version = "1.0.4";

src = fetchurl {
urls = [
"https://dl.bintray.com/sbt/native-packages/sbt/${version}/${name}.tgz"
"https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz"
"https://cocl.us/sbt-${version}.tgz"
];
sha256 = "041cv25gxqsi3rlglw5d8aqgdzb6y5ak3f52dwqvzrrj854vyx13";
sha256 = "0gz2akifi842y8av2hh7w2z6fd6z400nvk8ip87rkyhx3gw7cdw1";
};

patchPhase = ''
echo -java-home ${jre.home} >>conf/sbtopts
substituteInPlace bin/sbt-launch-lib.bash \
--replace "| bc)" "| ${bc}/bin/bc)"
'';

installPhase = ''
Expand All @@ -30,7 +27,7 @@ stdenv.mkDerivation rec {
homepage = http://www.scala-sbt.org/;
license = licenses.bsd3;
description = "A build tool for Scala, Java and more";
maintainers = with maintainers; [ rickynils ];
maintainers = with maintainers; [ nequissimus rickynils ];
platforms = platforms.unix;
};
}

0 comments on commit 3c93a19

Please sign in to comment.