mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
androidenv: Manually update missing packages
Improvement: Use nix-shell for fetch.sh androidsdk{,_extras}: - Update to 7.1.1 google_apis_25 is missing after fetch.sh due to an error in addon.xml (upsteam bug). Addons: - Add google_apis_25 - Update google_play_services (v8_rc41 -> v11_rc16)
This commit is contained in:
parent
fb26e5c8b6
commit
d17bcfc5f0
@ -268,6 +268,18 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
google_apis_25 = buildGoogleApis {
|
||||||
|
name = "google_apis-25";
|
||||||
|
src = fetchurl {
|
||||||
|
url = https://dl.google.com/android/repository/google_apis-25_r1.zip;
|
||||||
|
sha1 = "550e83eea9513ab11c44919ac6da54b36084a9f3";
|
||||||
|
};
|
||||||
|
meta = {
|
||||||
|
description = "Android + Google APIs";
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
android_support_extra = buildGoogleApis {
|
android_support_extra = buildGoogleApis {
|
||||||
name = "android_support_extra";
|
name = "android_support_extra";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -280,11 +292,12 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
google_play_services = buildGoogleApis {
|
google_play_services = buildGoogleApis {
|
||||||
name = "google_play_services";
|
name = "google_play_services";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = https://dl.google.com/android/repository/google_play_services_v8_rc41.zip;
|
url = https://dl.google.com/android/repository/google_play_services_v11_rc16.zip;
|
||||||
sha1 = "7a50dec81ba9c9b51d7778c19ca05002498209e8";
|
sha1 = "55be81c50041f6a8f62947418f74f683369c971f";
|
||||||
};
|
};
|
||||||
meta = {
|
meta = {
|
||||||
description = "Google Play services client library and sample code";
|
description = "Google Play services client library and sample code";
|
||||||
|
@ -181,6 +181,20 @@ rec {
|
|||||||
useGooglePlayServices = true;
|
useGooglePlayServices = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
androidsdk_7_1_1 = androidsdk {
|
||||||
|
platformVersions = [ "25" ];
|
||||||
|
abiVersions = [ "x86" "x86_64"];
|
||||||
|
useGoogleAPIs = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
androidsdk_7_1_1_extras = androidsdk {
|
||||||
|
platformVersions = [ "25" ];
|
||||||
|
abiVersions = [ "x86" "x86_64"];
|
||||||
|
useGoogleAPIs = true;
|
||||||
|
useExtraSupportLibs = true;
|
||||||
|
useGooglePlayServices = true;
|
||||||
|
};
|
||||||
|
|
||||||
androidndk = import ./androidndk.nix {
|
androidndk = import ./androidndk.nix {
|
||||||
inherit (pkgs) stdenv fetchurl zlib ncurses p7zip lib makeWrapper;
|
inherit (pkgs) stdenv fetchurl zlib ncurses p7zip lib makeWrapper;
|
||||||
inherit (pkgs) coreutils file findutils gawk gnugrep gnused jdk which;
|
inherit (pkgs) coreutils file findutils gawk gnugrep gnused jdk which;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#! /usr/bin/env nix-shell
|
||||||
|
#! nix-shell -i bash --pure -p androidsdk curl libxslt
|
||||||
|
|
||||||
# this shows a list of available xmls
|
# this shows a list of available xmls
|
||||||
android list sdk | grep 'Parse XML:' | cut -f8- -d\ # | xargs -n 1 curl -O
|
android list sdk | grep 'Parse XML:' | cut -f8- -d\ # | xargs -n 1 curl -O
|
||||||
|
@ -525,12 +525,6 @@ with pkgs;
|
|||||||
client = true;
|
client = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
androidenv = callPackage ../development/mobile/androidenv {
|
|
||||||
pkgs_i686 = pkgsi686Linux;
|
|
||||||
};
|
|
||||||
|
|
||||||
adb-sync = callPackage ../development/mobile/adb-sync { };
|
|
||||||
|
|
||||||
apg = callPackage ../tools/security/apg { };
|
apg = callPackage ../tools/security/apg { };
|
||||||
|
|
||||||
autorevision = callPackage ../tools/misc/autorevision { };
|
autorevision = callPackage ../tools/misc/autorevision { };
|
||||||
@ -589,11 +583,17 @@ with pkgs;
|
|||||||
pkgs_i686 = pkgsi686Linux;
|
pkgs_i686 = pkgsi686Linux;
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (androidenv) androidsdk_4_4 androidndk;
|
adb-sync = callPackage ../development/mobile/adb-sync { };
|
||||||
|
|
||||||
androidsdk = androidenv.androidsdk_7_0;
|
androidenv = callPackage ../development/mobile/androidenv {
|
||||||
|
pkgs_i686 = pkgsi686Linux;
|
||||||
|
};
|
||||||
|
|
||||||
androidsdk_extras = self.androidenv.androidsdk_7_0_extras;
|
inherit (androidenv) androidndk;
|
||||||
|
|
||||||
|
androidsdk = androidenv.androidsdk_7_1_1;
|
||||||
|
|
||||||
|
androidsdk_extras = self.androidenv.androidsdk_7_1_1_extras;
|
||||||
|
|
||||||
arc-theme = callPackage ../misc/themes/arc { };
|
arc-theme = callPackage ../misc/themes/arc { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user