about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/peaclock/default.nix
blob: 619b6ed9b375443955dd9fa9789ad90dea421a5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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 = "A clock, timer, and stopwatch for the terminal";
    homepage = "https://octobanana.com/software/peaclock";
    license = licenses.mit;
    platforms = platforms.unix;
    maintainers = with maintainers; [ djanatyn ];
  };
}