nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 41 lines 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.1"; 15 pname = "taskw"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "1a68e49cac2d4f6da73c0ce554fd6f94932d95e20596f2ee44a769a28c12ba7d"; 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}