2017-03-02 16:56:05 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildPythonApplication,
|
|
|
|
click, pyfiglet, dateutil}:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
|
|
|
|
name = "termdown-${version}";
|
2019-07-03 02:02:56 +01:00
|
|
|
version = "1.15.0";
|
2017-03-02 16:56:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-10-15 07:14:26 +01:00
|
|
|
rev = version;
|
2019-07-03 02:02:56 +01:00
|
|
|
sha256 = "08l03yk5jc1g0gps789q1s2knnaqzlidy4s5q5nhwg9g25la19nr";
|
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";
|
|
|
|
homepage = https://github.com/trehn/termdown;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|