mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
sbt: Remove duplicate package
This commit is contained in:
parent
8496b31e34
commit
0dbb2fdcfe
@ -1,27 +0,0 @@
|
||||
{ stdenv, fetchurl, writeScript, bash, jre }:
|
||||
|
||||
let
|
||||
|
||||
sbt = writeScript "sbt.sh" ''
|
||||
#!${bash}/bin/bash
|
||||
${jre}/bin/java -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled \
|
||||
-XX:MaxPermSize=384M -jar @out@/lib/sbt-launch.jar "$@"
|
||||
'';
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "sbt-${version}";
|
||||
|
||||
version = "0.12.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/${version}/sbt.tgz";
|
||||
sha256 = "154ydaxd6ink5sy4flzpyh47nnhgkxwpzmml8q16am7655fpib08";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib $out/bin
|
||||
mv bin/sbt-launch.jar $out/lib/
|
||||
cp ${sbt} $out/bin/sbt
|
||||
substituteInPlace $out/bin/sbt --replace @out@ $out
|
||||
'';
|
||||
}
|
@ -3537,8 +3537,6 @@ let
|
||||
jre = jdk;
|
||||
};
|
||||
|
||||
sbt = callPackage ../development/tools/build-managers/sbt { };
|
||||
|
||||
scons = callPackage ../development/tools/build-managers/scons { };
|
||||
|
||||
simpleBuildTool = callPackage ../development/tools/build-managers/simple-build-tool { };
|
||||
|
Loading…
Reference in New Issue
Block a user