python3Packages.google-auth-httplib2: build from source, add maintainer

This commit is contained in:
Sarah Clark
2025-05-23 08:37:24 -07:00
committed by Robert Schütz
parent 081054f557
commit 449d32ac28
@@ -1,29 +1,31 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
setuptools,
flask,
google-auth,
httplib2,
mock,
pytest-localserver,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "google-auth-httplib2";
version = "0.2.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-OKp7rfSPl08euYYXlOnAyyoFEaTsBnmx+IbRCPVkDgU=";
src = fetchFromGitHub {
owner = "googleapis";
repo = "google-auth-library-python-httplib2";
tag = "v${version}";
sha256 = "sha256-qY00u1srwAw68VXewZDOsWZrtHpi5UoRZfesSY7mTk8=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
google-auth
httplib2
];
@@ -37,11 +39,11 @@ buildPythonPackage rec {
pytest-localserver
];
meta = with lib; {
meta = {
description = "Google Authentication Library: httplib2 transport";
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2";
changelog = "https://github.com/googleapis/google-auth-library-python-httplib2/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = [ ];
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.sarahec ];
};
}