2021-08-10 17:26:26 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bklk";
|
|
|
|
version = "unstable-2020-12-29";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Ruunyox";
|
|
|
|
repo = pname;
|
|
|
|
rev = "26f3420aa5726e152a745278ddb98dc99c0a935e";
|
|
|
|
sha256 = "sha256-R3H6tv6fzQG41Y2rui0K8fdQ/+Ywnc5hqTPFjktrhF8=";
|
|
|
|
};
|
|
|
|
|
2021-11-11 20:18:04 +00:00
|
|
|
makeFlags = [ "CC=$$CXX" ];
|
|
|
|
|
2021-08-10 17:26:26 +01:00
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp bklk $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Ncurses Binary Clock";
|
|
|
|
longDescription = "bklk is a simple binary clock for your terminal.";
|
|
|
|
homepage = "https://github.com/Ruunyox/bklk";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ j0hax ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|