depot/third_party/nixpkgs/pkgs/applications/misc/peaclock/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

25 lines
668 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 = "A 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";
};
}