Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / peaclock / default.nix
blob619b6ed9b375443955dd9fa9789ad90dea421a5f
1 { lib, stdenv, fetchFromGitHub, cmake, libpthreadstubs, icu }:
3 stdenv.mkDerivation rec {
4   pname = "peaclock";
5   version = "0.4.3";
7   src = fetchFromGitHub {
8     owner = "octobanana";
9     repo = pname;
10     rev = version;
11     sha256 = "1582vgslhpgbvcd7ipgf1d1razrvgpq1f93q069yr2bbk6xn8i16";
12   };
14   nativeBuildInputs = [ cmake ];
15   buildInputs = [ libpthreadstubs icu ];
17   meta = with lib; {
18     description = "A clock, timer, and stopwatch for the terminal";
19     homepage = "https://octobanana.com/software/peaclock";
20     license = licenses.mit;
21     platforms = platforms.unix;
22     maintainers = with maintainers; [ djanatyn ];
23   };