2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-05-15 21:57:56 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonApplication
|
|
|
|
, click
|
|
|
|
, pyfiglet
|
2021-07-04 02:40:35 +00:00
|
|
|
, python-dateutil
|
2020-05-15 21:57:56 +00:00
|
|
|
, setuptools
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "termdown";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "1.17.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-05-15 21:57:56 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1sd9z5n2a4ir35832wgxs68vwav7wxhq39b5h8pq934mp8sl3v2k";
|
|
|
|
repo = "termdown";
|
|
|
|
owner = "trehn";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-07-04 02:40:35 +00:00
|
|
|
propagatedBuildInputs = [ python-dateutil click pyfiglet setuptools ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-15 21:57:56 +00:00
|
|
|
description = "Starts a countdown to or from TIMESPEC";
|
2020-04-24 23:36:52 +00:00
|
|
|
longDescription = "Countdown timer and stopwatch in your terminal";
|
2020-05-15 21:57:56 +00:00
|
|
|
homepage = "https://github.com/trehn/termdown";
|
|
|
|
license = licenses.gpl3;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|