mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
31 lines
686 B
Nix
31 lines
686 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildPythonApplication
|
|
, click
|
|
, pyfiglet
|
|
, python-dateutil
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "termdown";
|
|
version = "1.17.0";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = version;
|
|
sha256 = "1sd9z5n2a4ir35832wgxs68vwav7wxhq39b5h8pq934mp8sl3v2k";
|
|
repo = "termdown";
|
|
owner = "trehn";
|
|
};
|
|
|
|
propagatedBuildInputs = [ python-dateutil click pyfiglet setuptools ];
|
|
|
|
meta = with lib; {
|
|
description = "Starts a countdown to or from TIMESPEC";
|
|
mainProgram = "termdown";
|
|
longDescription = "Countdown timer and stopwatch in your terminal";
|
|
homepage = "https://github.com/trehn/termdown";
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|