about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/termdown/default.nix
blob: d2d592dce7e9d3e947408135ae2435ff9691015b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, fetchFromGitHub
, buildPythonApplication
, click
, pyfiglet
, python-dateutil
, setuptools
}:

buildPythonApplication rec {
  pname = "termdown";
  version = "1.17.0";

  src = fetchFromGitHub {
    rev = version;
    sha256 = "1sd9z5n2a4ir35832wgxs68vwav7wxhq39b5h8pq934mp8sl3v2k";
    repo = "termdown";
    owner = "trehn";
  };

  propagatedBuildInputs = [ python-dateutil click pyfiglet setuptools ];

  meta = with lib; {
    description = "Starts a countdown to or from TIMESPEC";
    mainProgram = "termdown";
    longDescription = "Countdown timer and stopwatch in your terminal";
    homepage = "https://github.com/trehn/termdown";
    license = licenses.gpl3;
  };
}