summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/todoist/default.nix
blob: 5227a76f76c1eebaeaec3a87fc1947c2c2f75de1 (plain)
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
{
  lib,
  fetchPypi,
  buildPythonPackage,
  requests,
}:

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

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

  propagatedBuildInputs = [ requests ];

  pythonImportsCheck = [ "todoist" ];

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