Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 36 lines 720 B view raw
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.3.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "7fe8676acb4559129c4e958be7704c12dccdbae302fff47c5398bc0dd1c9e563"; 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}