diff options
author | markuskowa <markus.kowalewski@gmail.com> | 2020-01-09 21:41:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-09 21:41:48 +0100 |
commit | db630cac1110504a62e1c5b523d802b427cfa0f9 (patch) | |
tree | 5093c24412c3dff5ae4f4955db47fbdbd45b2b11 /pkgs | |
parent | f2997ea03a6093b4099df310423e947b9947e3aa (diff) | |
parent | 665112e6e61166bab4b1788a58c5b5cabdcadffb (diff) | |
download | nixpkgs-db630cac1110504a62e1c5b523d802b427cfa0f9.tar nixpkgs-db630cac1110504a62e1c5b523d802b427cfa0f9.tar.gz nixpkgs-db630cac1110504a62e1c5b523d802b427cfa0f9.tar.bz2 nixpkgs-db630cac1110504a62e1c5b523d802b427cfa0f9.tar.lz nixpkgs-db630cac1110504a62e1c5b523d802b427cfa0f9.tar.xz nixpkgs-db630cac1110504a62e1c5b523d802b427cfa0f9.tar.zst nixpkgs-db630cac1110504a62e1c5b523d802b427cfa0f9.zip |
Merge pull request #74512 from prusnak/kodelife
kodelife: 0.8.7.105 -> 0.8.8.110 (+support for more archs)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/graphics/kodelife/default.nix | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/pkgs/applications/graphics/kodelife/default.nix b/pkgs/applications/graphics/kodelife/default.nix index 47a0687e79d..0b4e49dc2b5 100644 --- a/pkgs/applications/graphics/kodelife/default.nix +++ b/pkgs/applications/graphics/kodelife/default.nix @@ -9,11 +9,23 @@ stdenv.mkDerivation rec { pname = "kodelife"; - version = "0.8.7.105"; + version = "0.8.8.110"; + + suffix = { + aarch64-linux = "linux-arm64"; + armv7l-linux = "linux-armhf"; + x86_64-darwin = "macos"; + x86_64-linux = "linux-x86_64"; + }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); src = fetchzip { - url = "https://hexler.net/pub/${pname}/${pname}-${version}-linux-x86_64.zip"; - sha256 = "0ld4lwigzwlikx04qy3gskqqg0wzlk8m3ccrd704ifl8lsp46n5r"; + url = "https://hexler.net/pub/${pname}/${pname}-${version}-${suffix}.zip"; + sha256 = { + aarch64-linux = "1lcpj1mgkvksq1d08ibh59y0dmdh7zm77wi5ziqhg3p5g9nxyasd"; + armv7l-linux = "0sljy06302x567jqw5lagbyhpc3j140jk4wccacxjrbb6hcx3l42"; + x86_64-darwin = "1b058s9kny026q395nj99v8hggxkgv43nnjkmx1a2siajw0db94c"; + x86_64-linux = "1q77cpz4gflrvfz6dm6np8sqbwyr235gq7y4pzs4hnqbrdzd4nwl"; + }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); }; dontConfigure = true; @@ -36,7 +48,7 @@ stdenv.mkDerivation rec { libGLU libGL xorg.libX11 ]; - in '' + in stdenv.lib.optionalString (!stdenv.isDarwin) '' patchelf \ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ --set-rpath "${libPath}" \ @@ -48,6 +60,6 @@ stdenv.mkDerivation rec { description = "Real-time GPU shader editor"; license = licenses.unfree; maintainers = with maintainers; [ prusnak ]; - platforms = [ "x86_64-linux" ]; + platforms = [ "aarch64-linux" "armv7l-linux" "x86_64-darwin" "x86_64-linux" ]; }; } |