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