Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / gspread / default.nix
blobf71690c877e22470c25422fc4137992398fb43ad
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flit-core
5 , google-auth
6 , google-auth-oauthlib
7 , pytest-vcr
8 , pytestCheckHook
9 , pythonOlder
10 , requests
13 buildPythonPackage rec {
14   pname = "gspread";
15   version = "5.12.0";
16   format = "pyproject";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "burnash";
22     repo = "gspread";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-v6kpje5rw3/OfcoMWdSCZdkmETyIJ08cly8lLUt9j64=";
25   };
27   nativeBuildInputs = [
28     flit-core
29   ];
31   propagatedBuildInputs = [
32     google-auth
33     google-auth-oauthlib
34     requests
35   ];
37   nativeCheckInputs = [
38     pytest-vcr
39     pytestCheckHook
40   ];
42   pythonImportsCheck = [
43     "gspread"
44   ];
46   meta = with lib; {
47     description = "Google Spreadsheets client library";
48     homepage = "https://github.com/burnash/gspread";
49     changelog = "https://github.com/burnash/gspread/blob/v${version}/HISTORY.rst";
50     license = licenses.mit;
51     maintainers = with maintainers; [ ];
52   };