mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
peek: disable on darwin, add optional dependencies
This commit is contained in:
parent
4cf3a494cc
commit
3db6d699d6
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue