diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 19:35:09 +0100 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 19:35:09 +0100 |
commit | c4625b175f8200f643fd6e11010932ea44c78433 (patch) | |
tree | bce3f89888c8ac3991fa5569a878a9eab6801ccc /infra/libkookie/nixpkgs/pkgs/development/python-modules/google-api-python-client/default.nix | |
parent | 49f735974dd103039ddc4cb576bb76555164a9e7 (diff) | |
parent | d661aa56a8843e991261510c1bb28fdc2f6975ae (diff) |
Add 'infra/libkookie/' from commit 'd661aa56a8843e991261510c1bb28fdc2f6975ae'
git-subtree-dir: infra/libkookie
git-subtree-mainline: 49f735974dd103039ddc4cb576bb76555164a9e7
git-subtree-split: d661aa56a8843e991261510c1bb28fdc2f6975ae
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/google-api-python-client/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/google-api-python-client/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/google-api-python-client/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/google-api-python-client/default.nix new file mode 100644 index 000000000000..3ff530831b37 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/google-api-python-client/default.nix @@ -0,0 +1,35 @@ +{ lib, buildPythonPackage, fetchPypi +, google_auth, google-auth-httplib2, google_api_core +, httplib2, six, uritemplate, oauth2client }: + +buildPythonPackage rec { + pname = "google-api-python-client"; + version = "1.12.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "844ef76bda585ea0ea2d5e7f8f9a0eb10d6e2eba66c4fea0210ec7843941cb1a"; + }; + + # No tests included in archive + doCheck = false; + + propagatedBuildInputs = [ + google_auth google-auth-httplib2 google_api_core + httplib2 six uritemplate oauth2client + ]; + + meta = with lib; { + description = "The official Python client library for Google's discovery based APIs"; + longDescription = '' + These client libraries are officially supported by Google. However, the + libraries are considered complete and are in maintenance mode. This means + that we will address critical bugs and security issues but will not add + any new features. + ''; + homepage = "https://github.com/google/google-api-python-client"; + changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/v${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ primeos ]; + }; +} |