summary refs log tree commit diff
path: root/pkgs/development/mobile
AgeCommit message (Collapse)AuthorFilesLines
2023-02-28androidenv: make `nix-build -A androidenv.test-suite` workHadi5-11/+18
androidenv: set config.allowUnfree = true for integration tests androidenv: fix concerns in the PR
2023-02-28androidenv: add shell-with-emulator.nix to have test and more examplesHadi6-23/+211
androidenv: replace buildInputs with nativeBuildInputs
2023-02-28androidenv: fix problem with avdmanager when trying to create an avdHadi2-15/+31
To do so, we gathered different system images with the same abiVersion in the same derivation.
2023-02-22treewide: move NIX_CFLAGS_COMPILE to the env attrsetArtturin2-2/+2
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
2023-02-16maestro: 1.22.1 -> 1.23.0SubhrajyotiSen1-2/+2
2023-02-14treewide: use lib.optionalsFelix Buehler1-3/+3
2023-02-14androidenv: fix autopatching toolchainsJakub Sokołowski1-28/+33
Use of binaries from NDK `toolchains` has been broken by following PR: * https://github.com/NixOS/nixpkgs/pull/195752 I'm splitting the patchInstructions to run the ELF patching only on Linux. Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-13treewide: use optionalStringFelix Buehler4-9/+6
2023-02-09maestro: 1.21.3 -> 1.22.1SubhrajyotiSen1-2/+2
2023-02-09androidenv: fix patching linux prebuilt binariesJakub Sokołowski1-1/+1
This has been broken by following PR due to typo: https://github.com/NixOS/nixpkgs/pull/195752 Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-30maestro: 1.21.2 -> 1.21.3SubhrajyotiSen1-2/+2
2023-01-29Merge pull request #210372 from hadilq/androidenv/generate-package.xml-filesArtturi3-459/+8706
androidenv: generate package.xml in packages' directory
2023-01-27androidenv: Implement cmdline-tools and patcherHadi13-168/+229
- Replace cmdline-tools with tools because tools is obsolete now. - Depend emulator package to systemImages androidenv: fix issues on the PR androidenv: reformat androidenv: support excluding of `tools` package androidenv: provide `tools`, and `build-tools`, dependencies androidenv: replace includeTools with toolsVersion androidenv: fix a typo androidenv: add tests to check licenses and installed packages androidenv: check if tests are running! this commit should fail! androidenv: fix problems in the review https://github.com/NixOS/nixpkgs/pull/208793 androidenv: add test-suite to handle more tests around androidenv: fix the test after couldn't running them with ofborg Update pkgs/development/mobile/androidenv/build-tools.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> androidenv: Resolving https://github.com/NixOS/nixpkgs/pull/208793#discussion_r1065851539 Update pkgs/development/mobile/androidenv/cmdline-tools.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/development/mobile/androidenv/tools.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> androidenv: fix a typo
2023-01-27maestro: 1.21.0 -> 1.21.2SubhrajyotiSen1-2/+2
2023-01-25maestro: 1.20.0 -> 1.21.0SubhrajyotiSen1-2/+2
2023-01-25maestro: 1.19.5 -> 1.20.0SubhrajyotiSen1-2/+2
2023-01-19maestro: 1.19.0 -> 1.19.5SubhrajyotiSen1-2/+2
2023-01-13maestro: 1.18.5 -> 1.19.0SubhrajyotiSen1-2/+2
2023-01-13maestro: 1.18.3 -> 1.18.5SubhrajyotiSen1-2/+2
2023-01-12androidenv: generate package.xml in packages' directoryHadi3-459/+8706
2023-01-11Merge pull request #208380 from ↵Artturi4-49/+71
hadilq/androidenv/support-deplying-multiple-packages-in-one-derivation androidenv: Support deploying multiple packages in one derivation
2023-01-04maestro: 1.18.2 -> 1.18.3Subhrajyoti Sen1-2/+3
* maestro: 1.18.2 -> 1.18.3 * maestro: add changelog
2023-01-03androidenv: use unzip in nativeBuildInputsHadi1-3/+4
2023-01-03Update pkgs/development/mobile/androidenv/deploy-androidpackages.nixHadi1-3/+1
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-12-31androidenv: Fix we are using 2 spaces to intend nix code inHadi1-2/+2
see: https://github.com/NixOS/nixpkgs/pull/208137#discussion_r1059518929
2022-12-31androidenv: Replace deploy-androidpackage.nix with deploy-androidpackages.nixHadi3-47/+70
2022-12-31Merge pull request #207991 from SubhrajyotiSen/update-maestroBobby Rong1-2/+2
maestro: 1.17.2 -> 1.18.2
2022-12-30Merge pull request #208300 from ↵Artturi1-0/+3
hadilq/androidenv/fix-system-image-download-url-for-default-type
2022-12-30androidenv: Fix system image download url for default typeHadi1-0/+3
2022-12-30androidenv: fix missing packages in repo json (#208137)Hadi4-156/+1854
2022-12-28maestro: 1.17.2 -> 1.18.2SubhrajyotiSen1-2/+2
2022-12-20androidenv: fix missing `inherit os`jakobkukla1-1/+1
2022-12-20androidenv: fix non-existent emulatorVersionjakobkukla1-1/+1
2022-12-17androidenv: fix missing `inherit os` in build-toolsVanilla1-1/+1
2022-12-16Merge pull request #201563 from SubhrajyotiSen/patch-2Wael Nasreddine1-5/+5
2022-12-15Merge pull request #205701 from Artturin/deprecatereplacecharsArtturi4-4/+4
lib.replaceChars: warn about being a deprecated alias
2022-12-15lib.replaceChars: warn about being a deprecated aliasArtturin4-4/+4
replaceStrings has been in nix since 2015(nix 1.10) so it is safe to remove the fallback https://github.com/nixos/nix/commit/d6d5885c1567454754a0d260521bafa0bd5e7fdb
2022-12-15androidenv: use callPackage instead of import & fix infinite recursionArtturin9-49/+42
infinite recursion was due to autoPatchelfHook being in buildInputs of platform-tools, i will add a lint for it in nix-community/nixpkgs-lint. ``` $ nix build ".#pkgsCross.aarch64-android-prebuilt.hello" --show-trace 2>&1 | rg 'while evaluating the attr.+deriv' … while evaluating the attribute 'stdenv' of the derivation 'zlib-aarch64-unknown-linux-android-1.2.13' … while evaluating the attribute 'CPPFLAGS' of the derivation 'python3-aarch64-unknown-linux-android-3.10.8' … while evaluating the attribute 'setuptools' of the derivation 'python-catch-conflicts-hook' … while evaluating the attribute 'nativeBuildInputs' of the derivation 'python3.10-pyelftools-0.28' … while evaluating the attribute 'passAsFile' of the derivation 'python3-3.10.8-env' … while evaluating the attribute 'pythonInterpreter' of the derivation 'auto-patchelf-hook' … while evaluating the attribute 'buildInputs' of the derivation 'platform-tools-33.0.2' … while evaluating the attribute 'installPhase' of the derivation 'ndk-24.0.8215888' … while evaluating the attribute 'installPhase' of the derivation 'aarch64-unknown-linux-android-ndk-toolchain-24.0.8215888' … while evaluating the attribute 'bintools_bin' of the derivation 'aarch64-unknown-linux-android-ndk-toolchain-wrapper-24.0.8215888' … while evaluating the attribute 'bintools' of the derivation 'aarch64-unknown-linux-android-ndk-toolchain-wrapper-24.0.8215888' … while evaluating the attribute 'defaultNativeBuildInputs' of the derivation 'stdenv-linux' … while evaluating the attribute 'stdenv' of the derivation 'hello-aarch64-unknown-linux-android-2.12.1' ``` stdenv -> stdenv.cc -> bintools -> android-ndk-toolchain -> ndk -> platform-tools -> auto-patchelf-hook -> python3 -> zlib -> stdenv -> stdenv.cc -> ... autoPatchelfHook was in buildInputs of platform-tools so we needed the host tools to build it but platform-tools was a required tool
2022-12-16maestro: 1.15.0 -> 1.17.2SubhrajyotiSen1-2/+2
2022-12-06androidenv: use emulator from the path that makes it find qemu (#202088)Léo Gaspard1-0/+6
2022-11-29maestro: 1.11.3 -> 1.15.0Subhrajyoti Sen1-5/+5
2022-11-03Merge pull request #198844 from SubhrajyotiSen/maestroWael Nasreddine1-0/+33
2022-11-01maestro: init at 1.11.3SubhrajyotiSen1-0/+33
2022-10-27androidenv: fix darwin ndk symlinkSheldon Neuberger1-6/+10
Today the nix ndk package on darwin points to a directory that doesn't exist. This fix was added previously for linux but is needed on all platforms.
2022-10-10treewide: optional -> optionals where the argument is a listArtturin3-3/+3
the argument to optional should not be list
2022-08-27Merge pull request #186564 from Artturin/crossevalfixesArtturi4-10/+12
Fixes for cross-compilation
2022-08-16treewide: makeWrapper buildInputs to nativeBuildInputsArtturin4-10/+12
most found with https://github.com/siraben/nix-lint
2022-08-16androidenv: fix build of build-tools >= 33Charlotte Van Petegem1-2/+4
mainDexClasses seems to have been removed in this version of build-tools. (Seems to, because the release notes are not updated at all, unfortunately: https://developer.android.com/studio/releases/build-tools).
2022-07-24androidenv: fix default ndk linking for ndk > 22Van Tuan Vo1-1/+7
2022-07-24androidenv: fix ndk linking for ndk < 23Van Tuan Vo1-1/+1