nixpkgs/pkgs/applications/video/peek/default.nix

34 lines
966 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, gettext, libxml2, pkgconfig, txt2man, vala, wrapGAppsHook
2018-04-21 12:06:23 +00:00
, gsettings-desktop-schemas, gtk3, keybinder3, ffmpeg
}:
2017-11-27 23:25:21 +00:00
stdenv.mkDerivation rec {
name = "peek-${version}";
version = "1.3.1";
2017-11-27 23:25:21 +00:00
src = fetchFromGitHub {
owner = "phw";
repo = "peek";
rev = version;
sha256 = "1fnvlklmg6s5rs3ql74isa5fgdkqqrpsyf8k2spxj520239l4vgb";
2017-11-27 23:25:21 +00:00
};
2018-04-21 12:06:23 +00:00
preConfigure = ''
gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ ffmpeg ]})
'';
nativeBuildInputs = [ cmake gettext pkgconfig libxml2.bin txt2man vala wrapGAppsHook ];
buildInputs = [ gsettings-desktop-schemas gtk3 keybinder3 ];
enableParallelBuilding = true;
2017-11-27 23:25:21 +00:00
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 = platforms.linux;
2017-11-27 23:25:21 +00:00
};
}