at master 842 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 six, 5 pytz, 6 tzlocal, 7 fetchPypi, 8 taskwarrior2, 9 writeShellScriptBin, 10}: 11 12buildPythonPackage rec { 13 pname = "tasklib"; 14 version = "2.5.1"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-XM1zG1JjbdEEV6i42FjLDQJv+qsePnUbr3kb+APjfXs="; 20 }; 21 22 propagatedBuildInputs = [ 23 six 24 pytz 25 tzlocal 26 ]; 27 28 nativeCheckInputs = [ 29 taskwarrior2 30 # stub 31 (writeShellScriptBin "wsl" "true") 32 ]; 33 34 meta = { 35 homepage = "https://github.com/robgolding/tasklib"; 36 description = "Library for interacting with taskwarrior databases"; 37 changelog = "https://github.com/GothenburgBitFactory/tasklib/releases/tag/${version}"; 38 maintainers = with lib.maintainers; [ arcnmx ]; 39 platforms = lib.platforms.all; 40 license = lib.licenses.bsd3; 41 }; 42}