8 stdenv.mkDerivation rec {
9 pname = "scala-runners";
10 version = "unstable-2021-07-28";
12 src = fetchFromGitHub {
15 rev = "9bf096ca81f4974d7327e291eac291e22b344a8f";
16 sha256 = "032fds5nr102h1lc81n9jc60jmxzivi4md4hcjrlqn076hfhj4ax";
21 mkdir -p $out/bin $out/lib
22 sed -ie "s| cs | ${coursier}/bin/cs |" scala-runner
23 cp scala-runner $out/lib
24 ln -s $out/lib/scala-runner $out/bin/scala
25 ln -s $out/lib/scala-runner $out/bin/scalac
26 ln -s $out/lib/scala-runner $out/bin/scalap
27 ln -s $out/lib/scala-runner $out/bin/scaladoc
31 homepage = "https://github.com/dwijnand/scala-runners";
32 description = "Alternative implementation of the Scala distribution's runners";
33 license = licenses.asl20;
34 platforms = platforms.all;
35 maintainers = with maintainers; [ hrhino ];