nixpkgs/pkgs/development/python-modules/gspread/default.nix
2023-05-16 01:37:59 +00:00

43 lines
814 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, google-auth
, google-auth-oauthlib
, pythonOlder
}:
buildPythonPackage rec {
pname = "gspread";
version = "5.9.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-NLl4NLvvrM9ySXcCuuJtEvltBoXkmkGK/mqSqbvLnJw=";
};
propagatedBuildInputs = [
requests
google-auth
google-auth-oauthlib
];
# No tests included
doCheck = false;
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; [ ];
};
}