mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
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 {
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user