python.pkgs.google_api_python_client: move expression

This commit is contained in:
Robert Schütz 2018-04-05 22:37:52 +02:00 committed by Frederik Rietdijk
parent 63193b19b3
commit 3dfe742e83
2 changed files with 24 additions and 21 deletions

View File

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi
, httplib2, six, oauth2client, uritemplate }:
buildPythonPackage rec {
pname = "google-api-python-client";
version = "1.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "1ggxk094vqr4ia6yq7qcpa74b4x5cjd5mj74rq0xx9wp2jkrxmig";
};
# No tests included in archive
doCheck = false;
propagatedBuildInputs = [ httplib2 six oauth2client uritemplate ];
meta = with lib; {
description = "The core Python library for accessing Google APIs";
homepage = https://github.com/google/google-api-python-client;
license = licenses.asl20;
};
}

View File

@ -6302,27 +6302,7 @@ in {
google_api_core = callPackage ../development/python-modules/google_api_core { };
google_api_python_client = buildPythonPackage rec {
name = "google-api-python-client-${version}";
version = "1.5.1";
src = pkgs.fetchurl {
url = "mirror://pypi/g/google-api-python-client/${name}.tar.gz";
sha256 = "1ggxk094vqr4ia6yq7qcpa74b4x5cjd5mj74rq0xx9wp2jkrxmig";
};
# No tests included in archive
doCheck = false;
propagatedBuildInputs = with self; [ httplib2 six oauth2client uritemplate ];
meta = {
description = "The core Python library for accessing Google APIs";
homepage = "https://code.google.com/p/google-api-python-client/";
license = licenses.asl20;
platforms = platforms.unix;
};
};
google_api_python_client = callPackage ../development/python-modules/google-api-python-client { };
google_apputils = buildPythonPackage rec {
name = "google-apputils-0.4.1";