1{ lib, pythonPackages, taskwarrior, writeShellScriptBin }: 2 3with pythonPackages; 4 5let 6 7wsl_stub = writeShellScriptBin "wsl" "true"; 8 9in buildPythonPackage rec { 10 pname = "tasklib"; 11 version = "2.4.3"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "b523bc12893d26c8173a6b8d84b16259c9a9c5acaaf8932bc018117f907b3bc5"; 16 }; 17 18 propagatedBuildInputs = [ 19 six 20 pytz 21 tzlocal 22 ]; 23 24 checkInputs = [ 25 taskwarrior 26 wsl_stub 27 ]; 28 29 meta = with lib; { 30 homepage = "https://github.com/robgolding/tasklib"; 31 description = "A library for interacting with taskwarrior databases"; 32 maintainers = with maintainers; [ arcnmx ]; 33 platforms = platforms.all; 34 license = licenses.bsd3; 35 }; 36}