Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, flask 5, google-auth 6, httplib2 7, mock 8, pytest-localserver 9, pytestCheckHook 10, pythonOlder 11}: 12 13buildPythonPackage rec { 14 pname = "google-auth-httplib2"; 15 version = "0.1.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-oHw5/WMr7KzT8HcY39YCG/OWl48DrTzkMh0GABXMMKw="; 23 }; 24 25 propagatedBuildInputs = [ 26 google-auth 27 httplib2 28 ]; 29 30 nativeCheckInputs = [ 31 flask 32 mock 33 pytestCheckHook 34 pytest-localserver 35 ]; 36 37 meta = with lib; { 38 description = "Google Authentication Library: httplib2 transport"; 39 homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2"; 40 changelog = "https://github.com/googleapis/google-auth-library-python-httplib2/blob/v${version}/CHANGELOG.md"; 41 license = licenses.asl20; 42 maintainers = with maintainers; [ SuperSandro2000 ]; 43 }; 44}