From 3db6d699d6b1da82791e408c3103f7d36b3c88a2 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Wed, 29 Nov 2017 07:50:40 +0000 Subject: [PATCH] peek: disable on darwin, add optional dependencies --- pkgs/applications/video/peek/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/video/peek/default.nix b/pkgs/applications/video/peek/default.nix index f195c2017f0d..d55f0aa1b35b 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; }; }