Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 901 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, nose 5, tox 6, six 7, dateutil 8, kitchen 9, pytz 10, pkgs 11}: 12 13buildPythonPackage rec { 14 version = "1.2.0"; 15 pname = "taskw"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "fadd8afc12df026c3c2d39b633c55d3337f7dca95602fce2239455a048bc85fe"; 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 dateutil kitchen pytz ]; 33 34 meta = with stdenv.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}