mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
30 lines
652 B
Nix
30 lines
652 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, buildPythonApplication
|
|
, click
|
|
, pyfiglet
|
|
, dateutil
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "termdown";
|
|
version = "1.17.0";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = version;
|
|
sha256 = "1sd9z5n2a4ir35832wgxs68vwav7wxhq39b5h8pq934mp8sl3v2k";
|
|
repo = "termdown";
|
|
owner = "trehn";
|
|
};
|
|
|
|
propagatedBuildInputs = [ dateutil click pyfiglet setuptools ];
|
|
|
|
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;
|
|
};
|
|
}
|