1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, google-auth 6, google-auth-oauthlib 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "gspread"; 12 version = "5.7.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-XznXohg0O2UU8G4iUODEE+tOgU3eaqv0hdrLaqMcqrA="; 20 }; 21 22 propagatedBuildInputs = [ 23 requests 24 google-auth 25 google-auth-oauthlib 26 ]; 27 28 # No tests included 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "gspread" 33 ]; 34 35 meta = with lib; { 36 description = "Google Spreadsheets client library"; 37 homepage = "https://github.com/burnash/gspread"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ ]; 40 }; 41}