Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 627 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, requests 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "todoist-python"; 10 version = "8.1.3"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-AFRKA5VRD6jyiguZYP7WOQOWqHq1GjUzbuez0f1070U="; 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}