Sander van der Burg
074c7e99e0
Fix standalone generation script
6 years ago
Sander van der Burg
cb42643b95
Fix inclusion of sources
6 years ago
Sander van der Burg
53550c826d
Port packages with Android dependencies to new androidenv
6 years ago
Sander van der Burg
27f8b6b89e
Replace titaniumenv with new implementation
6 years ago
Sander van der Burg
907216a57d
Replace xcodeenv with new implementation
6 years ago
Sander van der Burg
74750dc67d
Replace androidenv by new implementation
6 years ago
Sander van der Burg
2757ddb182
Separate androidndkpkgs from androidenv
6 years ago
Bastian Köcher
cf2d35d889
androidndk: Adds missing patch for 18b
6 years ago
Bastian Köcher
bf44d81df9
androidndk: 17c -> 18b
6 years ago
Clemens Fruhwirth
b4d9f6ddca
androidsdk: Re-add emulator that was broken out of the sdk-tools package.
6 years ago
David McFarland
c43abffb9c
androidsdk: fix monitor interpreter path
6 years ago
Matthew Bauer
21eeb00a08
treewide: get rid of osx cmake flags
...
Flags that we now set globally:
- CMAKE_OSX_SYSROOT
- CMAKE_OSX_DEPLOYMENT_TARGET
can now be removed.
(cherry picked from commit 8742d5de30dfe2447c0fb56a2e7410b402effc80)
6 years ago
Nick Novitski
d861da151f
androidenv: version buildTools and add buildToolsVersions sdk argument
6 years ago
Nick Novitski
4a0ae5d7d6
androidenv: add androidsdk_{8_1,9_0}{,_extras}
6 years ago
Nick Novitski
a61f31cf23
androidenv: run ./fetch.sh
...
Manually corrected three problems:
- fetch.sh: android cli cannot find java executable
- addons.nix: google_apis_25 expression not added correctly
- addons.nix: android_support_extra expression deleted (replaced in android 9 with jetpack/androidx)
6 years ago
Nick Novitski
6e07691ed7
androidenv: remove `android` command from fetch.sh
...
It's deprecated, and no longer prints the urls of any xml files for the script
to parse.
6 years ago
Nick Novitski
ec8f320797
androidenv.androidndk: patch prebuilt 64bit binaries
6 years ago
Nick Novitski
f5c2960a11
androidenv.buildTools: patch hard-coded /bin/ls paths
6 years ago
Nick Novitski
ad501e4c2f
androidenv.buildtools: 28.0.2 -> 28.0.3
6 years ago
Nick Novitski
950608bae0
androidsdk: 25.2.5 -> 26.1.1, license agreement
6 years ago
Lionello Lunesu
132ed23f35
xcodeenv.buildApp: inherit meta
...
Without `inherit meta;` there was no easy way for XCode packages to
set meta information of the final derivation.
6 years ago
John Ericson
6769437186
androidndk: Add Darwin support
...
Also switch Linux to using the official sha1 hashes for consistency.
They are gotten from https://developer.android.com/ndk/downloads/ .
6 years ago
Andreas Baldeau
1de1bc8038
android-platform-tools: patchelf also binaries new in 28.0.1.
6 years ago
Andreas Baldeau
906e69d638
android-platform-tools: 26.0.2 -> 28.0.1
6 years ago
Bastian Köcher
dd0b3dafc9
androidndk: Add `makeStandaloneToolchain` support
...
Example:
```
let
toolchain = (androidenv.androidndk.makeStandaloneToolchain 24 "arm64");
in
...
```
6 years ago
Bastian Köcher
48bdf31f58
androidndk: Fix `make_standalone_toolchain.py`
...
Python path needs to be absolute and the generated scripts will use also
an absolute path to `bash`.
6 years ago
Luigy Leon
c759f7a9b7
androidndk: fix eval
...
fixup from https://github.com/NixOS/nixpkgs/pull/45820
/cc @Ericson2314
6 years ago
Väinö Järvelä
48abc2a788
cocoapods: 1.5.0 -> 1.5.3
6 years ago
John Ericson
0828e2d8c3
treewide: Remove usage of remaining redundant platform compatability stuff
...
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
6 years ago
John Ericson
2c2f1e37d4
reewide: Purge all uses `stdenv.system` and top-level `system`
...
It is deprecated and will be removed after 18.09.
6 years ago
Matthew Bauer
4a5cbdf5ea
android: add licenses
...
androidndk is apache 2.0
androidsdk is unfree
6 years ago
Robert Schütz
0cd86e1e9d
adb-sync: use python3 ( #44409 )
...
According to https://github.com/google/adb-sync/pull/2#commitcomment-11399661 ,
it should work with python2 and python3. Using python3 is prefered in nixpkgs.
6 years ago
volth
52f53c69ce
pkgs/*: remove unreferenced function arguments
6 years ago
volth
87f5930c3f
[bot]: remove unreferenced code
6 years ago
Bastian Köcher
ea475c1da5
androidndk: Use `callPackage` to support overriding the `fullNdk` option
6 years ago
Silvan Mosberger
57bccb3cb8
treewide: http -> https sources ( #42676 )
...
* treewide: http -> https sources
This updates the source urls of all top-level packages from http to
https where possible.
* buildtorrent: fix url and tab -> spaces
6 years ago
Matthew Bauer
e3475f3406
build-gradle-app.nix: fix eval
...
Sorry, typo.
6 years ago
Matthew Bauer
0d9112f01a
build-gradle-app.nix: mark unfree
...
Forgot about this. It needs android-sdk-license & build products should fail when allowUnfree = false.
6 years ago
Matthew Bauer
5000cc555e
android: define __ANDROID_API__ in cflags
...
This is needed for targeting older apis.
6 years ago
Matthew Bauer
d9155904b3
androidndk: add fullNDK option
...
Setting this to true will disable removing some of the unused parts of
the NDK toolchain that is unused in Nixpkgs but may be used by others.
/cc @bkchr
6 years ago
Matthew Bauer
7652b2ef16
android: add --build-id to ldflags
...
the gcc in android does not have this on by default. Doing this will
fix some of the errors in cross-trunk:
https://hydra.nixos.org/build/76354538/nixlog/11
This is related to how separate debug info is handled in Nixpkgs.
6 years ago
Matthew Bauer
37aab4cbb5
android: more output size reduction
...
This should bring us finally under the 2G max. llvm directory was
missing from my last commit.
6 years ago
Matthew Bauer
e1e9b197f9
android: fix from last output size reduction
...
Directories weren’t being removed properly.
6 years ago
Matthew Bauer
7b49d3b335
androidndk: fix eval
6 years ago
Matthew Bauer
054656a2fc
androidndk: reduce output sizw
...
Fixes #41704
6 years ago
Matthew Bauer
a7fc8ad140
androidndk: use unzip
...
This is a free version and preferred to 7zip.
6 years ago
Matthew Bauer
e5d262e1cc
androidndk: fixup
6 years ago
Matthew Bauer
c8fd285c8d
android: add ndkVer to resolve ndk ambiguity
...
It wasn’t exactly clear which NDK you were using previously. This adds
an attribute to system that handles what version of the NDK we should
use when building things.
/cc @Ericson2314
6 years ago
Matthew Bauer
cf09ffe9aa
android: Use NDK 17 for aarch32
6 years ago
Matthew Bauer
2a0c328712
androidenv: add "androidsdk_latest" for latest sdk
...
This is easier than having to remember which SDKs are supported, etc.
Stuff based on this can become more future-proof.
6 years ago