2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2020-05-10 19:49:47 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonApplication
|
|
|
|
, click
|
|
|
|
, pyfiglet
|
2021-07-03 11:37:24 +00:00
|
|
|
, python-dateutil
|
2020-05-10 19:49:47 +00:00
|
|
|
, setuptools
|
|
|
|
}:
|
2017-03-02 16:56:05 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2021-07-03 11:37:24 +00:00
|
|
|
propagatedBuildInputs = [ python-dateutil click pyfiglet setuptools ];
|
2017-03-02 16:56:05 +00:00
|
|
|
|
2021-01-11 07:54:33 +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
|
|
|
};
|
|
|
|
}
|