lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 17.09-beta 32 lines 834 B view raw
1{ stdenv, fetchurl, jre }: 2 3stdenv.mkDerivation rec { 4 name = "sbt-${version}"; 5 version = "1.0.0"; 6 7 src = fetchurl { 8 urls = [ 9 "https://dl.bintray.com/sbt/native-packages/sbt/${version}/${name}.tgz" 10 "https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz" 11 ]; 12 sha256 = "0njwch97g69vzxfqhlaibjwbif2vka68dssddk2jlpqlf94lzq4s"; 13 }; 14 15 patchPhase = '' 16 echo -java-home ${jre.home} >>conf/sbtopts 17 ''; 18 19 installPhase = '' 20 mkdir -p $out/share/sbt $out/bin 21 cp -ra . $out/share/sbt 22 ln -s $out/share/sbt/bin/sbt $out/bin/ 23 ''; 24 25 meta = with stdenv.lib; { 26 homepage = http://www.scala-sbt.org/; 27 license = licenses.bsd3; 28 description = "A build tool for Scala, Java and more"; 29 maintainers = with maintainers; [ rickynils ]; 30 platforms = platforms.unix; 31 }; 32}