sbt: 1.0.3 -> 1.0.4

This commit is contained in:
Tim Steinbach 2017-11-26 17:21:06 -05:00
parent ab48481f06
commit 3cb310a231
No known key found for this signature in database
GPG Key ID: 472BFCCA96BD0EDA

View File

@ -1,8 +1,8 @@
{ stdenv, fetchurl, jre, bc }:
{ stdenv, fetchurl, jre }:
stdenv.mkDerivation rec {
name = "sbt-${version}";
version = "1.0.3";
version = "1.0.4";
src = fetchurl {
urls = [
@ -10,14 +10,11 @@ stdenv.mkDerivation rec {
"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 = ''
@ -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;
};
}