about summary refs log tree commit diff
path: root/pkgs/applications/video/peek
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-11-29 07:50:40 +0000
committerOrivej Desh <orivej@gmx.fr>2017-11-29 07:50:40 +0000
commit3db6d699d6b1da82791e408c3103f7d36b3c88a2 (patch)
tree3dcd286bc811a3658fcdad0d7f4b63286fc3eecc /pkgs/applications/video/peek
parent4cf3a494ccf965e1d72704054ce0bd93ae9f2e8f (diff)
peek: disable on darwin, add optional dependencies
Diffstat (limited to 'pkgs/applications/video/peek')
-rw-r--r--pkgs/applications/video/peek/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/applications/video/peek/default.nix b/pkgs/applications/video/peek/default.nix
index f195c2017f0d8..d55f0aa1b35b6 100644
--- a/pkgs/applications/video/peek/default.nix
+++ b/pkgs/applications/video/peek/default.nix
@@ -1,5 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, vala, gtk3, wrapGAppsHook
-, gsettings_desktop_schemas }:
+{ stdenv, fetchFromGitHub, cmake, gettext, libxml2, pkgconfig, txt2man, vala, wrapGAppsHook
+, gsettings_desktop_schemas, gtk3, keybinder3
+}:
 
 stdenv.mkDerivation rec {
   name = "peek-${version}";
@@ -12,14 +13,17 @@ stdenv.mkDerivation rec {
     sha256 = "04sc6gfrqvnx288rmgsywpjx9l6jcfn2qdbwjcbdvx4wl3gna0qm";
   };
 
-  nativeBuildInputs = [ cmake pkgconfig gettext wrapGAppsHook ];
-  buildInputs = [ vala gtk3 gsettings_desktop_schemas ];
+  nativeBuildInputs = [ cmake gettext pkgconfig libxml2.bin txt2man vala wrapGAppsHook ];
+
+  buildInputs = [ gsettings_desktop_schemas gtk3 keybinder3 ];
+
+  enableParallelBuilding = true;
 
   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;
+    platforms   = platforms.linux;
   };
 }