5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
31 lines
600 B
Nix
31 lines
600 B
Nix
{
|
|
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 = "Official Todoist Python API library";
|
|
homepage = "https://todoist-python.readthedocs.io/";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|