mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
27 lines
626 B
Nix
27 lines
626 B
Nix
{ stdenv, fetchFromGitHub, ncurses, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tty-clock";
|
|
version = "2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xorg62";
|
|
repo = "tty-clock";
|
|
rev = "v${version}";
|
|
sha256 = "16v3pmva13skpfjja96zacjpxrwzs1nb1iqmrp2qzvdbcm9061pp";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ ncurses ];
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/xorg62/tty-clock;
|
|
license = licenses.free;
|
|
description = "Digital clock in ncurses";
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.koral ];
|
|
};
|
|
}
|