2021-01-16 19:51:22 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config }:
|
2014-09-28 03:31:50 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "tty-clock";
|
2017-03-03 14:16:45 -08:00
|
|
|
version = "2.3";
|
2014-09-28 03:31:50 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xorg62";
|
|
|
|
repo = "tty-clock";
|
2017-03-03 14:16:45 -08:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "16v3pmva13skpfjja96zacjpxrwzs1nb1iqmrp2qzvdbcm9061pp";
|
2014-09-28 03:31:50 -07:00
|
|
|
};
|
2021-01-19 13:20:11 -08:00
|
|
|
|
2021-01-16 19:51:22 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2014-09-28 03:31:50 -07:00
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2019-10-27 06:03:25 -07:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2014-09-28 03:31:50 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/xorg62/tty-clock";
|
2014-09-28 03:31:50 -07:00
|
|
|
license = licenses.free;
|
|
|
|
description = "Digital clock in ncurses";
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.koral ];
|
|
|
|
};
|
|
|
|
}
|