depot/third_party/nixpkgs/pkgs/applications/misc/bklk/default.nix
Default email e18f6fb5f9 Project import generated by Copybara.
GitOrigin-RevId: 9df2cb074d72ea80ac9fd225b29060c8cf13dd39
2021-08-11 16:56:57 +02:00

29 lines
719 B
Nix

{ 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=";
};
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;
};
}