about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2020-10-28 16:06:00 -0300
committerGitHub <noreply@github.com>2020-10-28 16:06:00 -0300
commitc13da09a6f9f7ecd99511d993664ecb50447196f (patch)
tree57827374cf35241893f4ea6c01d026a25573ae8b /pkgs/applications/misc
parente32ca0fb236100e2e755b690a5927b0223ce08d0 (diff)
parentc84ddc7bf448039a12757cb5cb18296662ab2ed3 (diff)
Merge pull request #101231 from djanatyn/pkg/peaclock
peaclock: init at 0.4.3
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/peaclock/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/misc/peaclock/default.nix b/pkgs/applications/misc/peaclock/default.nix
new file mode 100644
index 0000000000000..e824bbaf583b4
--- /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 ];
+  };
+}