1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 google-auth-oauthlib, 6 google-auth, 7 pythonOlder, 8 setuptools, 9 versioneer, 10}: 11 12buildPythonPackage rec { 13 pname = "pydata-google-auth"; 14 version = "1.9.1"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 repo = "pydata-google-auth"; 21 owner = "pydata"; 22 tag = version; 23 hash = "sha256-NxEpwCkjNWao2bnKOsDgw93N+cVqwM12VfoEu8CyWUU="; 24 }; 25 26 postPatch = '' 27 # Remove vendorized versioneer.py 28 rm versioneer.py 29 ''; 30 31 build-system = [ 32 setuptools 33 versioneer 34 ]; 35 36 dependencies = [ 37 google-auth 38 google-auth-oauthlib 39 ]; 40 41 # tests require network access 42 doCheck = false; 43 44 pythonImportsCheck = [ "pydata_google_auth" ]; 45 46 meta = with lib; { 47 description = "Helpers for authenticating to Google APIs"; 48 homepage = "https://github.com/pydata/pydata-google-auth"; 49 changelog = "https://github.com/pydata/pydata-google-auth/releases/tag/${version}"; 50 license = licenses.bsd3; 51 maintainers = with maintainers; [ cpcloud ]; 52 }; 53}