at 22.05-pre 905 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, tox 6, six 7, python-dateutil 8, kitchen 9, pytz 10, pkgs 11}: 12 13buildPythonPackage rec { 14 version = "1.3.0"; 15 pname = "taskw"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "7673d80b3d5bace5b35eb71f5035e313a92daab6e437694128d8ce7dcdaf66fb"; 20 }; 21 22 patches = [ ./use-template-for-taskwarrior-install-path.patch ]; 23 postPatch = '' 24 substituteInPlace taskw/warrior.py \ 25 --replace '@@taskwarrior@@' '${pkgs.taskwarrior}' 26 ''; 27 28 # https://github.com/ralphbean/taskw/issues/98 29 doCheck = false; 30 31 buildInputs = [ nose pkgs.taskwarrior tox ]; 32 propagatedBuildInputs = [ six python-dateutil kitchen pytz ]; 33 34 meta = with lib; { 35 homepage = "https://github.com/ralphbean/taskw"; 36 description = "Python bindings for your taskwarrior database"; 37 license = licenses.gpl3Plus; 38 maintainers = with maintainers; [ pierron ]; 39 }; 40 41}