about summary refs log tree commit diff
path: root/pkgs/development/python-modules/todoist/default.nix
blob: d3d93e79946b73b346dda4e01215a2b0f73510be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, fetchPypi
, buildPythonPackage
, requests
, pythonOlder
}:

buildPythonPackage rec {
  pname = "todoist-python";
  version = "8.1.4";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-Rkg6eSLiQe8DZaVu2DEnlKLe8RLkRwKmpw+TaYj+lp0=";
  };

  propagatedBuildInputs = [
    requests
  ];

  pythonImportsCheck = [
    "todoist"
  ];

  meta = with lib; {
    description = "The official Todoist Python API library";
    homepage = "https://todoist-python.readthedocs.io/";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}