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

30 lines
642 B
Nix
Raw Normal View History

{ lib
2020-05-10 19:49:47 +00:00
, fetchFromGitHub
, buildPythonApplication
, click
, pyfiglet
, dateutil
, setuptools
}:
2017-03-02 16:56:05 +00:00
buildPythonApplication rec {
pname = "termdown";
2020-05-10 19:49:47 +00:00
version = "1.17.0";
2017-03-02 16:56:05 +00:00
src = fetchFromGitHub {
2020-05-10 19:49:47 +00:00
rev = version;
sha256 = "1sd9z5n2a4ir35832wgxs68vwav7wxhq39b5h8pq934mp8sl3v2k";
repo = "termdown";
owner = "trehn";
2017-03-02 16:56:05 +00:00
};
2020-05-10 19:49:47 +00:00
propagatedBuildInputs = [ dateutil click pyfiglet setuptools ];
2017-03-02 16:56:05 +00:00
meta = with lib; {
2020-05-10 19:49:47 +00:00
description = "Starts a countdown to or from TIMESPEC";
2017-03-02 16:56:05 +00:00
longDescription = "Countdown timer and stopwatch in your terminal";
2020-05-10 19:49:47 +00:00
homepage = "https://github.com/trehn/termdown";
license = licenses.gpl3;
2017-03-02 16:56:05 +00:00
};
}