Merge pull request #29649 from disassembler/topydo

topydo: 0.9 -> 0.13
This commit is contained in:
Jörg Thalheim 2017-09-22 10:50:42 +01:00 committed by GitHub
commit 11e1e826bf
3 changed files with 38 additions and 23 deletions

View File

@ -0,0 +1,35 @@
{ stdenv, python3Packages, fetchFromGitHub, glibcLocales }:
with python3Packages;
buildPythonApplication rec {
pname = "topydo";
version = "0.13";
name = "${pname}-${version}";
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

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

View File

@ -25788,29 +25788,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 = builtins.trace "python3Packages.topydo was moved to topydo" pkgs.topydo; # 2017-09-22
w3lib = buildPythonPackage rec {
name = "w3lib-${version}";