mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
48 lines
961 B
Nix
48 lines
961 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
flask,
|
|
google-auth,
|
|
httplib2,
|
|
mock,
|
|
pytest-localserver,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-auth-httplib2";
|
|
version = "0.2.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-OKp7rfSPl08euYYXlOnAyyoFEaTsBnmx+IbRCPVkDgU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
google-auth
|
|
httplib2
|
|
];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
nativeCheckInputs = [
|
|
flask
|
|
mock
|
|
pytestCheckHook
|
|
pytest-localserver
|
|
];
|
|
|
|
meta = with lib; {
|
|
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 = [ ];
|
|
};
|
|
}
|