diff options
author | Florian Klink <flokli@flokli.de> | 2022-12-13 23:48:28 +0000 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2022-12-13 23:48:28 +0000 |
commit | 931ecfea08611de31c104e4a9ed77e22390c6ba3 (patch) | |
tree | 90045af757b91ae412474ab8697a145ea5897b0e | |
parent | f5f53f6b20965ef033a5535dc0b34950127924e0 (diff) |
jameica: add aarch64-linux support
-rw-r--r-- | pkgs/applications/office/jameica/default.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/applications/office/jameica/default.nix b/pkgs/applications/office/jameica/default.nix index d4a3028b8943f..8fe04cf43ed96 100644 --- a/pkgs/applications/office/jameica/default.nix +++ b/pkgs/applications/office/jameica/default.nix @@ -5,10 +5,12 @@ let _build = "484"; version = "${_version}-${_build}"; - swtSystem = if stdenv.hostPlatform.system == "i686-linux" then "linux" - else if stdenv.hostPlatform.system == "x86_64-linux" then "linux64" - else if stdenv.hostPlatform.system == "x86_64-darwin" then "macos64" - else throw "Unsupported system: ${stdenv.hostPlatform.system}"; + swtSystem = + if stdenv.hostPlatform.system == "i686-linux" then "linux" + else if stdenv.hostPlatform.system == "x86_64-linux" then "linux64" + else if stdenv.hostPlatform.system == "aarch64-linux" then "linux-arm64" + else if stdenv.hostPlatform.system == "x86_64-darwin" then "macos64" + else throw "Unsupported system: ${stdenv.hostPlatform.system}"; desktopItem = makeDesktopItem { name = "jameica"; @@ -26,7 +28,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ ant jdk wrapGAppsHook makeWrapper ]; buildInputs = lib.optionals stdenv.isLinux [ gtk2 glib xorg.libXtst ] - ++ lib.optional stdenv.isDarwin Cocoa; + ++ lib.optional stdenv.isDarwin Cocoa; src = fetchFromGitHub { owner = "willuhn"; @@ -79,7 +81,7 @@ stdenv.mkDerivation rec { binaryBytecode # source bundles dependencies as jars ]; license = licenses.gpl2Plus; - platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]; + platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]; maintainers = with maintainers; [ flokli r3dl3g ]; }; } |