Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 749 B view raw
1{ lib, pythonPackages, taskwarrior, writeShellScriptBin, isPy27 }: 2 3with pythonPackages; 4 5let 6 7wsl_stub = writeShellScriptBin "wsl" "true"; 8 9in buildPythonPackage rec { 10 pname = "tasklib"; 11 version = "2.2.0"; 12 disabled = isPy27; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "da66e84614b09443aa67c4dc2922213417329c39511dc5b384d8a5671e29115e"; 17 }; 18 19 propagatedBuildInputs = [ 20 six 21 pytz 22 tzlocal 23 ]; 24 25 checkInputs = [ 26 taskwarrior 27 wsl_stub 28 ]; 29 30 meta = with lib; { 31 homepage = "https://github.com/robgolding/tasklib"; 32 description = "A library for interacting with taskwarrior databases"; 33 maintainers = with maintainers; [ arcnmx ]; 34 platforms = platforms.all; 35 license = licenses.bsd3; 36 }; 37}