2017-03-02 16:56:05 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildPythonApplication,
|
|
|
|
click, pyfiglet, dateutil}:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "termdown";
|
2019-07-26 00:39:39 +00:00
|
|
|
version = "1.16.0";
|
2017-03-02 16:56:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-10-15 06:14:26 +00:00
|
|
|
rev = version;
|
2019-07-26 00:39:39 +00:00
|
|
|
sha256 = "0k429ss1xifm9vbgyzpp71r79byn9jclvr0rm77bai2r8nz3s2vf";
|
2017-03-02 16:56:05 +00:00
|
|
|
repo = "termdown";
|
|
|
|
owner = "trehn";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ dateutil click pyfiglet ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Starts a countdown to or from TIMESPEC";
|
|
|
|
longDescription = "Countdown timer and stopwatch in your terminal";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/trehn/termdown";
|
2017-03-02 16:56:05 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|