python3Packages.google-api-python-client: build from source, add maintainer
This commit is contained in:
committed by
Robert Schütz
parent
c2d0bf6a9d
commit
8a55f79187
@@ -1,14 +1,13 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
google-auth,
|
||||
google-auth-httplib2,
|
||||
google-api-core,
|
||||
httplib2,
|
||||
uritemplate,
|
||||
setuptools,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -16,12 +15,11 @@ buildPythonPackage rec {
|
||||
version = "2.166.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "google_api_python_client";
|
||||
inherit version;
|
||||
hash = "sha256-uM+EO9nXNsE0rvds8dx6R8koOi7yQme5cge53UOzDvc=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "googleapis";
|
||||
repo = "google-api-python-client";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-gJ5YG3Zse3X3BIzCnvWW4Uwokwh79NRvcYJd2TRb0s4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -34,12 +32,9 @@ buildPythonPackage rec {
|
||||
uritemplate
|
||||
];
|
||||
|
||||
# No tests included in archive
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "googleapiclient" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Official Python client library for Google's discovery based APIs";
|
||||
longDescription = ''
|
||||
These client libraries are officially supported by Google. However, the
|
||||
@@ -49,7 +44,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
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 = [ ];
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.sarahec ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user