Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
25 lines
666 B
Nix
25 lines
666 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, libpthreadstubs, icu }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "peaclock";
|
|
version = "0.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "octobanana";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1582vgslhpgbvcd7ipgf1d1razrvgpq1f93q069yr2bbk6xn8i16";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ libpthreadstubs icu ];
|
|
|
|
meta = with lib; {
|
|
description = "Clock, timer, and stopwatch for the terminal";
|
|
homepage = "https://octobanana.com/software/peaclock";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ djanatyn ];
|
|
mainProgram = "peaclock";
|
|
};
|
|
}
|