nixpkgs-suyu/pkgs/applications/misc/termdown/default.nix

28 lines
714 B
Nix
Raw Normal View History

2017-03-02 17:56:05 +01:00
{ stdenv, fetchFromGitHub, buildPythonApplication,
click, pyfiglet, dateutil}:
with stdenv.lib;
buildPythonApplication rec {
name = "termdown-${version}";
2018-10-15 08:14:26 +02:00
version = "1.14.1";
2017-03-02 17:56:05 +01:00
src = fetchFromGitHub {
2018-10-15 08:14:26 +02:00
rev = version;
sha256 = "0jgjzglna0gwp0j31l48pny69szslczl13aahwjfjypkv9lx8w2a";
2017-03-02 17:56:05 +01: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;
};
}