Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
google-auth,
google-auth-httplib2,
google-api-core,
httplib2,
uritemplate,
setuptools,
}:
buildPythonPackage rec {
pname = "google-api-python-client";
version = "2.177.0";
pyproject = true;
src = fetchFromGitHub {
owner = "googleapis";
repo = "google-api-python-client";
tag = "v${version}";
hash = "sha256-CEjbUIXtG5z1/28DsNCm/npMSd/+DyY5PMJHm9XDe2M=";
};
build-system = [ setuptools ];
dependencies = [
google-auth
google-auth-httplib2
google-api-core
httplib2
uritemplate
];
pythonImportsCheck = [ "googleapiclient" ];
meta = {
description = "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/${src.tag}";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.sarahec ];
};
}