nixpkgs/pkgs/applications/misc/topydo/default.nix

35 lines
844 B
Nix
Raw Normal View History

2017-09-21 22:16:35 +01:00
{ 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;
};
}