lol

Merge pull request #128060 from hrhino/scala-runners

authored by

Sandro and committed by
GitHub
b9312e7a f7f7562d

+41
+6
maintainers/maintainer-list.nix
··· 4291 4291 githubId = 1436960; 4292 4292 name = "Christoph Hrdinka"; 4293 4293 }; 4294 + hrhino = { 4295 + email = "hora.rhino@gmail.com"; 4296 + github = "hrhino"; 4297 + githubId = 28076058; 4298 + name = "Harrison Houghton"; 4299 + }; 4294 4300 hschaeidt = { 4295 4301 email = "he.schaeidt@gmail.com"; 4296 4302 github = "hschaeidt";
+31
pkgs/development/compilers/scala-runners/default.nix
··· 1 + { stdenv, lib, fetchFromGitHub, jre, coursier }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "scala-runners"; 5 + version = "unstable-2020-02-02"; 6 + 7 + src = fetchFromGitHub { 8 + repo = pname; 9 + owner = "dwijnand"; 10 + rev = "95e03c9f9de0fe0ab61eeb6dea2a364f9d081d31"; 11 + sha256 = "0mvlc6fxsh5d6gsyak9n3g98g4r061n8pir37jpiqb7z00m9lfrx"; 12 + }; 13 + 14 + installPhase = '' 15 + mkdir -p $out/bin $out/lib 16 + sed -ie "s| cs | ${coursier}/bin/coursier |" scala-runner 17 + cp scala-runner $out/lib 18 + ln -s $out/lib/scala-runner $out/bin/scala 19 + ln -s $out/lib/scala-runner $out/bin/scalac 20 + ln -s $out/lib/scala-runner $out/bin/scalap 21 + ln -s $out/lib/scala-runner $out/bin/scaladoc 22 + ''; 23 + 24 + meta = with lib; { 25 + homepage = "https://github.com/dwijnand/scala-runners"; 26 + description = "An alternative implementation of the Scala distribution's runners"; 27 + license = licenses.asl20; 28 + platforms = platforms.all; 29 + maintainers = with maintainers; [ hrhino ]; 30 + }; 31 + }
+4
pkgs/top-level/all-packages.nix
··· 12017 12017 scala_2_13 = callPackage ../development/compilers/scala/2.x.nix { majorVersion = "2.13"; jre = jdk8; }; 12018 12018 12019 12019 scala = scala_2_13; 12020 + scala-runners = callPackage ../development/compilers/scala-runners/default.nix { 12021 + coursier = coursier.override { jre = jdk8; }; 12022 + jre = jdk8; 12023 + }; 12020 12024 12021 12025 metal = callPackage ../development/libraries/metal { }; 12022 12026 metals = callPackage ../development/tools/metals { };