forked from mirrors/nixpkgs
chromium: Add API keys for NixOS.
As requested by some users, we finally have support for cloud sync, spelling, geolocation and a lot more of the services that require API keys from Google. Details about which services are involved can be found at: http://www.chromium.org/developers/how-tos/api-keys Thanks to Paweł Hajdan <phajdan@google.com> for giving us permission to distribute the API keys with our build of Chromium: > Note that the public Terms of Service do not allow distribution of the > API keys in any form. To make this work for you, on behalf of Google > Chrome Team I am providing you with: > Official permission to include Google API keys in your packages and to > distribute these packages. The remainder of the Terms of Service for > each API applies, but at this time you are not bound by the > requirement to only access the APIs for personal and development use, > and Additional quota for each API in an effort to adequately support > your users. As noted in the source: Those keys are for use in NixOS/nixpkgs ONLY! Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
1870210926
commit
3c60e2ec39
|
@ -146,6 +146,14 @@ in stdenv.mkDerivation rec {
|
|||
linux_sandbox_path="${libExecPath}/${packageName}_sandbox";
|
||||
linux_sandbox_chrome_path="${libExecPath}/${packageName}";
|
||||
werror = "";
|
||||
|
||||
# Google API keys, see http://www.chromium.org/developers/how-tos/api-keys.
|
||||
# Note: These are for NixOS/nixpkgs use ONLY. For your own distribution,
|
||||
# please get your own set of keys.
|
||||
google_api_key = "AIzaSyDGi15Zwl11UNe6Y-5XW_upsfyw31qwZPI";
|
||||
google_default_client_id = "404761575300.apps.googleusercontent.com";
|
||||
google_default_client_secret = "9rIFQjfnkykEmqb6FfjJQD1D";
|
||||
|
||||
} // optionalAttrs proprietaryCodecs {
|
||||
# enable support for the H.264 codec
|
||||
proprietary_codecs = true;
|
||||
|
|
Loading…
Reference in a new issue