Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 54 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchFromGitHub, google-auth, google-auth-httplib2, google-api-core, httplib2, uritemplate, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "google-api-python-client"; version = "2.192.0"; pyproject = true;
src = fetchFromGitHub { owner = "googleapis"; repo = "google-api-python-client"; tag = "v${finalAttrs.version}"; hash = "sha256-v6b4WkbXBIqdZFCWVBz7dsMxtHkIsylDGWp5QyNQ9O0="; # Remove mixed-case files that cause hash differences between platforms postFetch = '' rm -rf $out/docs/ ''; };
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/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.sarahec ]; };})