diff options
author | Felix Buehler <account@buehler.rocks> | 2021-11-09 20:53:19 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-11-10 14:03:48 +0100 |
commit | 66e4f4b3ee5d06694d083bdee4cbd692c3f9e30b (patch) | |
tree | d6783cfca24cab9d95a9085fc12c22235f8933a3 /pkgs/development/mobile/titaniumenv/titaniumsdk-8.3.nix | |
parent | 345d71ffd0a4f1693cb5d1e74b49fe5c34405705 (diff) |
pkgs/development: followup fmt
Diffstat (limited to 'pkgs/development/mobile/titaniumenv/titaniumsdk-8.3.nix')
-rw-r--r-- | pkgs/development/mobile/titaniumenv/titaniumsdk-8.3.nix | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/pkgs/development/mobile/titaniumenv/titaniumsdk-8.3.nix b/pkgs/development/mobile/titaniumenv/titaniumsdk-8.3.nix index c372f50cf4399..eadbad7e0f5f4 100644 --- a/pkgs/development/mobile/titaniumenv/titaniumsdk-8.3.nix +++ b/pkgs/development/mobile/titaniumenv/titaniumsdk-8.3.nix @@ -1,4 +1,4 @@ -{stdenv, lib, fetchurl, unzip, makeWrapper}: +{ stdenv, lib, fetchurl, unzip, makeWrapper }: let # Gradle is a build system that bootstraps itself. This is what it actually @@ -56,15 +56,18 @@ stdenv.mkDerivation { pname = "mobilesdk"; version = "8.3.2.GA"; - src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl { - url = "https://builds.appcelerator.com/mobile/8_3_X/mobilesdk-8.3.2.v20200117111803-linux.zip"; - sha256 = "04pfw21jrx9w259lphynwykqjk4c9hm0zix4d40s7mf8mmh3xdx9"; - } - else if stdenv.system == "x86_64-darwin" then fetchurl { - url = "https://builds.appcelerator.com/mobile/8_3_X/mobilesdk-8.3.2.v20200117111803-osx.zip"; - sha256 = "1zflq5hc96lrriw71ya623kkskkisi9yayg8qs03zimi0gksizxw"; - } - else throw "Platform: ${stdenv.system} not supported!"; + src = + if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then + fetchurl { + url = "https://builds.appcelerator.com/mobile/8_3_X/mobilesdk-8.3.2.v20200117111803-linux.zip"; + sha256 = "04pfw21jrx9w259lphynwykqjk4c9hm0zix4d40s7mf8mmh3xdx9"; + } + else if stdenv.system == "x86_64-darwin" then + fetchurl { + url = "https://builds.appcelerator.com/mobile/8_3_X/mobilesdk-8.3.2.v20200117111803-osx.zip"; + sha256 = "1zflq5hc96lrriw71ya623kkskkisi9yayg8qs03zimi0gksizxw"; + } + else throw "Platform: ${stdenv.system} not supported!"; nativeBuildInputs = [ makeWrapper unzip ]; |