diff options
Diffstat (limited to 'pkgs/development/mobile')
-rw-r--r-- | pkgs/development/mobile/titanium/default.nix | 29 | ||||
-rw-r--r-- | pkgs/development/mobile/titaniumenv/default.nix | 3 |
2 files changed, 30 insertions, 2 deletions
diff --git a/pkgs/development/mobile/titanium/default.nix b/pkgs/development/mobile/titanium/default.nix new file mode 100644 index 0000000000000..0318ceeb18eb0 --- /dev/null +++ b/pkgs/development/mobile/titanium/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildNpmPackage +, fetchFromGitHub +}: + +buildNpmPackage rec { + pname = "titanium"; + version = "6.1.1"; + + src = fetchFromGitHub { + owner = "tidev"; + repo = "titanium-cli"; + rev = "v${version}"; + hash = "sha256-eJHf4vbapCaIVk0Xc0sml14jkFCsS/Gv7ftaFakB5rI="; + }; + + npmDepsHash = "sha256-60r+zqUCSDvQgrjg5SGfZiv87AoGx1XcnbW1ki1sbCM="; + + dontNpmBuild = true; + + meta = { + changelog = "https://github.com/tidev/titanium-cli/blob/${src.rev}/CHANGELOG.md"; + description = "Command Line Tool for creating and building Titanium Mobile applications and modules"; + homepage = "https://github.com/tidev/titanium-cli"; + license = lib.licenses.asl20; + mainProgram = "titanium"; + maintainers = with lib.maintainers; [ ]; + }; +} diff --git a/pkgs/development/mobile/titaniumenv/default.nix b/pkgs/development/mobile/titaniumenv/default.nix index e0d5ef02d7dab..2f1459ef3e048 100644 --- a/pkgs/development/mobile/titaniumenv/default.nix +++ b/pkgs/development/mobile/titaniumenv/default.nix @@ -12,9 +12,8 @@ rec { }; buildApp = import ./build-app.nix { - inherit (pkgs) stdenv lib python which file jdk nodejs; + inherit (pkgs) stdenv lib python which file jdk nodejs titanium; alloy = pkgs.titanium-alloy; - inherit (pkgs.nodePackages) titanium; inherit (androidenv) composeAndroidPackages; inherit (xcodeenv) composeXcodeWrapper; inherit titaniumsdk; |