sbt: 1.0.3 -> 1.0.4
This commit is contained in:
parent
ab48481f06
commit
3cb310a231
|
@ -1,8 +1,8 @@
|
||||||
{ stdenv, fetchurl, jre, bc }:
|
{ stdenv, fetchurl, jre }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "sbt-${version}";
|
name = "sbt-${version}";
|
||||||
version = "1.0.3";
|
version = "1.0.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [
|
urls = [
|
||||||
|
@ -10,14 +10,11 @@ stdenv.mkDerivation rec {
|
||||||
"https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz"
|
"https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz"
|
||||||
"https://cocl.us/sbt-${version}.tgz"
|
"https://cocl.us/sbt-${version}.tgz"
|
||||||
];
|
];
|
||||||
sha256 = "041cv25gxqsi3rlglw5d8aqgdzb6y5ak3f52dwqvzrrj854vyx13";
|
sha256 = "0gz2akifi842y8av2hh7w2z6fd6z400nvk8ip87rkyhx3gw7cdw1";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
echo -java-home ${jre.home} >>conf/sbtopts
|
echo -java-home ${jre.home} >>conf/sbtopts
|
||||||
|
|
||||||
substituteInPlace bin/sbt-launch-lib.bash \
|
|
||||||
--replace "| bc)" "| ${bc}/bin/bc)"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -30,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = http://www.scala-sbt.org/;
|
homepage = http://www.scala-sbt.org/;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
description = "A build tool for Scala, Java and more";
|
description = "A build tool for Scala, Java and more";
|
||||||
maintainers = with maintainers; [ rickynils ];
|
maintainers = with maintainers; [ nequissimus rickynils ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue