2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, libpthreadstubs, icu }:
|
2020-11-03 02:18:15 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "peaclock";
|
|
|
|
version = "0.4.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "octobanana";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1582vgslhpgbvcd7ipgf1d1razrvgpq1f93q069yr2bbk6xn8i16";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ libpthreadstubs icu ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-03 02:18:15 +00:00
|
|
|
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 ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "peaclock";
|
2020-11-03 02:18:15 +00:00
|
|
|
};
|
|
|
|
}
|