From c84ddc7bf448039a12757cb5cb18296662ab2ed3 Mon Sep 17 00:00:00 2001 From: Jonathan Strickland Date: Tue, 20 Oct 2020 21:56:08 -0400 Subject: [PATCH] peaclock: init at 0.4.3 Co-authored-by: r-burns <52847440+r-burns@users.noreply.github.com> --- pkgs/applications/misc/peaclock/default.nix | 24 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/misc/peaclock/default.nix diff --git a/pkgs/applications/misc/peaclock/default.nix b/pkgs/applications/misc/peaclock/default.nix new file mode 100644 index 000000000000..e824bbaf583b --- /dev/null +++ b/pkgs/applications/misc/peaclock/default.nix @@ -0,0 +1,24 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7997136ffb2a..0d369617ec76 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22755,6 +22755,10 @@ in inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good gst-libav; }; + peaclock = callPackage ../applications/misc/peaclock { + stdenv = gccStdenv; + }; + peek = callPackage ../applications/video/peek { }; pflask = callPackage ../os-specific/linux/pflask {};