topydo: 0.9 -> 0.13

This commit is contained in:
Samuel Leathers 2017-09-21 17:16:35 -04:00
parent f170dbe16f
commit be530263bc
3 changed files with 37 additions and 23 deletions

View File

@ -0,0 +1,34 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, arrow, icalendar, mock, freezegun
, coverage, glibcLocales, isPy3k, green, pylint, prompt_toolkit, urwid, watchdog }:
buildPythonPackage rec {
pname = "topydo";
version = "0.13";
name = "${pname}-${version}";
disabled = (!isPy3k);
src = fetchFromGitHub {
owner = "bram85";
repo = pname;
rev = version;
sha256 = "0b3dz137lpbvpjvfy42ibqvj3yk526x4bpn819fd11lagn77w69r";
};
propagatedBuildInputs = [
arrow
icalendar
glibcLocales
prompt_toolkit
urwid
watchdog
];
checkInputs = [ mock freezegun coverage green pylint ];
LC_ALL="en_US.UTF-8";
meta = with stdenv.lib; {
description = "A cli todo application compatible with the todo.txt format";
homepage = "https://github.com/bram85/topydo";
license = licenses.gpl3;
};
}

View File

@ -16522,6 +16522,8 @@ with pkgs;
quazip = quazip_qt4;
};
topydo = (newScope python3Packages) ../applications/misc/topydo {};
torchPackages = recurseIntoAttrs ( callPackage ../applications/science/machine-learning/torch {
lua = luajit ;
} );

View File

@ -25804,29 +25804,7 @@ EOF
};
};
topydo = buildPythonPackage rec {
name = "topydo-${version}";
version = "0.9";
disabled = (!isPy3k);
src = pkgs.fetchFromGitHub {
owner = "bram85";
repo = "topydo";
rev = version;
sha256 = "0vmfr2cxn3r5zc0c4q3a94xy1r0cv177b9zrm9hkkjcmhgq42s3h";
};
propagatedBuildInputs = with self; [ arrow icalendar ];
buildInputs = with self; [ mock freezegun coverage pkgs.glibcLocales ];
LC_ALL="en_US.UTF-8";
meta = {
description = "A cli todo application compatible with the todo.txt format";
homepage = "https://github.com/bram85/topydo";
license = licenses.gpl3;
};
};
topydo = callPackage ../development/python-modules/topydo {};
w3lib = buildPythonPackage rec {
name = "w3lib-${version}";