nixpkgs/pkgs/applications/misc/peaclock/default.nix
Jonathan Strickland c84ddc7bf4 peaclock: init at 0.4.3
Co-authored-by: r-burns <52847440+r-burns@users.noreply.github.com>
2020-10-27 10:05:08 -04:00

25 lines
640 B
Nix

{ 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 stdenv.lib; {
description = "A clock, timer, and stopwatch for the terminal";
homepage = "https://octobanana.com/software/peaclock";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ djanatyn ];
};
}