1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 requests,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "todoist-python";
11 version = "8.1.4";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-Rkg6eSLiQe8DZaVu2DEnlKLe8RLkRwKmpw+TaYj+lp0=";
19 };
20
21 propagatedBuildInputs = [ requests ];
22
23 pythonImportsCheck = [ "todoist" ];
24
25 meta = with lib; {
26 description = "Official Todoist Python API library";
27 homepage = "https://todoist-python.readthedocs.io/";
28 license = licenses.mit;
29 maintainers = [ ];
30 };
31}