2021-01-24 00:29:22 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
2020-09-09 12:32:31 +01:00
|
|
|
, requests, fetchpatch, pythonOlder, typing
|
|
|
|
}:
|
2017-08-23 12:00:22 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "todoist-python";
|
2021-02-12 22:26:38 +00:00
|
|
|
version = "8.1.3";
|
2017-08-23 12:00:22 +01:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-12 22:26:38 +00:00
|
|
|
sha256 = "sha256-AFRKA5VRD6jyiguZYP7WOQOWqHq1GjUzbuez0f1070U=";
|
2017-08-23 12:00:22 +01:00
|
|
|
};
|
|
|
|
|
2021-01-24 00:29:22 +00:00
|
|
|
propagatedBuildInputs = [ requests ] ++ lib.optional (pythonOlder "3.5") typing;
|
2017-08-23 12:00:22 +01:00
|
|
|
|
2021-01-24 00:29:22 +00:00
|
|
|
meta = with lib; {
|
2017-08-23 12:00:22 +01:00
|
|
|
description = "The official Todoist Python API library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://todoist-python.readthedocs.io/en/latest/";
|
2021-01-24 00:29:22 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ma27 ];
|
2017-08-23 12:00:22 +01:00
|
|
|
};
|
|
|
|
}
|