Skip to content

Commit

Permalink
Merge pull request #205182 from gdinh/goku-bump-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Mar 14, 2023
2 parents 112654f + d8b1910 commit a9afcd2
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions pkgs/os-specific/darwin/goku/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,32 @@
, stdenv
, fetchurl
, unzip
, joker
}:

stdenv.mkDerivation rec {
pname = "goku";
version = "0.5.2";
version = "0.6.0";

src = fetchurl {
url = "https://github.com/yqrashawn/GokuRakuJoudo/releases/download/v${version}/goku.zip";
sha256 = "506eccdabedc68c112778b13ded65099327267c2e3fd488916e3a340bc312954";
};
src = if stdenv.isAarch64 then
fetchurl {
url = "https://github.com/yqrashawn/GokuRakuJoudo/releases/download/v${version}/goku-arm.zip";
hash = "sha256-TIoda2kDckK1FBLAmKudsDs3LXO4J0KWiAD2JlFb4rk=";
}
else fetchurl {
url = "https://github.com/yqrashawn/GokuRakuJoudo/releases/download/v${version}/goku.zip";
hash = "sha256-8HdIwtpzR6O2WCbMYIJ6PHcM27Xmb+4Tc5Fmjl0dABQ=";
};

nativeBuildInputs = [
unzip
];

sourceRoot = ".";
buildInputs = [
joker
];

sourceRoot = if stdenv.isAarch64 then "goku" else ".";

installPhase = ''
chmod +x goku
Expand Down

0 comments on commit a9afcd2

Please sign in to comment.