Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
989 B · 53 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub, flit-core, google-auth, google-auth-oauthlib, pytest-vcr, pytestCheckHook, pythonOlder, requests}:
buildPythonPackage rec { pname = "gspread"; version = "5.12.4"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "burnash"; repo = "gspread"; rev = "refs/tags/v${version}"; hash = "sha256-i+QbnF0Y/kUMvt91Wzb8wseO/1rZn9xzeA5BWg1haks="; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ google-auth google-auth-oauthlib requests ];
nativeCheckInputs = [ pytest-vcr pytestCheckHook ];
pythonImportsCheck = [ "gspread" ];
meta = with lib; { description = "Google Spreadsheets client library"; homepage = "https://github.com/burnash/gspread"; changelog = "https://github.com/burnash/gspread/blob/v${version}/HISTORY.rst"; license = licenses.mit; maintainers = with maintainers; [ ]; };}