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