Merge pull request #4302 from k0ral/tty-clock
New package: tty-clock-0.1
This commit is contained in:
commit
97be74be16
27
pkgs/tools/misc/tty-clock/default.nix
Normal file
27
pkgs/tools/misc/tty-clock/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tty-clock-${version}";
|
||||
version = "0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xorg62";
|
||||
repo = "tty-clock";
|
||||
rev = "v0.1";
|
||||
sha256 = "14h70ky5y9nb3mzhlshdgq5n47hg3g6msnwbqd7nnmjzrw1nmarl";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
preInstall = ''
|
||||
sed -i 's@/usr/local/@$(out)/@' Makefile
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -2370,6 +2370,8 @@ let
|
||||
|
||||
ttf2pt1 = callPackage ../tools/misc/ttf2pt1 { };
|
||||
|
||||
tty-clock = callPackage ../tools/misc/tty-clock { };
|
||||
|
||||
ttysnoop = callPackage ../os-specific/linux/ttysnoop {};
|
||||
|
||||
twitterBootstrap = callPackage ../development/web/twitter-bootstrap {};
|
||||
|
Loading…
Reference in New Issue
Block a user