Commit f0284ab4 authored by figsoda's avatar figsoda
Browse files

topydo: clean up

parent 5fc7480c
Loading
Loading
Loading
Loading
+13 −10
Original line number Diff line number Diff line
{ lib, python3Packages, fetchFromGitHub, fetchpatch, glibcLocales }:
{ lib, python3, fetchFromGitHub, fetchpatch, glibcLocales }:

with python3Packages;

buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
  pname = "topydo";
  version = "0.14";

  src = fetchFromGitHub {
    owner = "bram85";
    owner = "topydo";
    repo = pname;
    rev = version;
    sha256 = "1lpfdai0pf90ffrzgmmkadbd86rb7250i3mglpkc82aj6prjm6yb";
@@ -22,16 +20,19 @@ buildPythonApplication rec {
    })
  ];

  propagatedBuildInputs = [
  propagatedBuildInputs = with python3.pkgs; [
    arrow
    icalendar
    glibcLocales
    icalendar
    prompt-toolkit
    urwid
    watchdog
  ];

  nativeCheckInputs = [ unittestCheckHook mock freezegun pylint ];
  nativeCheckInputs = with python3.pkgs; [
    freezegun
    unittestCheckHook
  ];

  # Skip test that has been reported multiple times upstream without result:
  # bram85/topydo#271, bram85/topydo#274.
@@ -43,7 +44,9 @@ buildPythonApplication rec {

  meta = with lib; {
    description = "A cli todo application compatible with the todo.txt format";
    homepage = "https://github.com/bram85/topydo";
    license = licenses.gpl3;
    homepage = "https://github.com/topydo/topydo";
    changelog = "https://github.com/topydo/topydo/blob/${src.rev}/CHANGES.md";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ ];
  };
}