summary refs log tree commit diff
path: root/pkgs/applications/video/peek/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/video/peek/default.nix')
-rw-r--r--pkgs/applications/video/peek/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/video/peek/default.nix b/pkgs/applications/video/peek/default.nix
new file mode 100644
index 0000000000000..f195c2017f0d8
--- /dev/null
+++ b/pkgs/applications/video/peek/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, vala, gtk3, wrapGAppsHook
+, gsettings_desktop_schemas }:
+
+stdenv.mkDerivation rec {
+  name = "peek-${version}";
+  version = "1.2.0";
+
+  src = fetchFromGitHub {
+    owner = "phw";
+    repo = "peek";
+    rev = version;
+    sha256 = "04sc6gfrqvnx288rmgsywpjx9l6jcfn2qdbwjcbdvx4wl3gna0qm";
+  };
+
+  nativeBuildInputs = [ cmake pkgconfig gettext wrapGAppsHook ];
+  buildInputs = [ vala gtk3 gsettings_desktop_schemas ];
+
+  meta = with stdenv.lib; {
+    homepage    = https://github.com/phw/peek;
+    description = "Simple animated GIF screen recorder with an easy to use interface";
+    license     = licenses.gpl3;
+    maintainers = with maintainers; [ puffnfresh ];
+    platforms   = with platforms; unix;
+  };
+}