bloop: 2.0.0 -> 2.0.2 and aarch64-apple-darwin support (#342644)
This commit is contained in:
commit
33e735b40e
@ -10,11 +10,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bloop";
|
||||
version = "2.0.0";
|
||||
version = "2.0.2";
|
||||
|
||||
platform =
|
||||
if stdenv.isLinux && stdenv.isx86_64 then "x86_64-pc-linux"
|
||||
else if stdenv.isDarwin && stdenv.isx86_64 then "x86_64-apple-darwin"
|
||||
else if stdenv.isDarwin && stdenv.isAarch64 then "aarch64-apple-darwin"
|
||||
else throw "unsupported platform";
|
||||
|
||||
bloop-bash = fetchurl {
|
||||
@ -35,8 +36,9 @@ stdenv.mkDerivation rec {
|
||||
bloop-binary = fetchurl rec {
|
||||
url = "https://github.com/scalacenter/bloop/releases/download/v${version}/bloop-${platform}";
|
||||
sha256 =
|
||||
if stdenv.isLinux && stdenv.isx86_64 then "sha256-SnDXAkNu//Dn24FaQcACEBEJODlrhvpQ8uNbge99nGA="
|
||||
else if stdenv.isDarwin && stdenv.isx86_64 then "sha256-MfenrNbL1UBC4t/0w9MTDI+kz2HKv7xJcmA57qBbMFw="
|
||||
if stdenv.isLinux && stdenv.isx86_64 then "sha256-xYVfgi3ANjBiuf4/5FDgSYDL/fPsvuJn4jFxAEVYct4="
|
||||
else if stdenv.isDarwin && stdenv.isx86_64 then "sha256-lq0S2AsulcUUYDd3qnWonwd/W0/gb7lJwC+QTYTlTdg="
|
||||
else if stdenv.isDarwin && stdenv.isAarch64 then "sha256-e+9Q7xIEsHloaKOj13vZnGs2vulkOJv7tCOuACobHvk="
|
||||
else throw "unsupported platform";
|
||||
};
|
||||
|
||||
@ -67,7 +69,7 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.asl20;
|
||||
description = "Scala build server and command-line tool to make the compile and test developer workflows fast and productive in a build-tool-agnostic way";
|
||||
mainProgram = "bloop";
|
||||
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
||||
platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
||||
maintainers = with maintainers; [ kubukoz tomahna ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user