mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
34 lines
966 B
Nix
34 lines
966 B
Nix
{ stdenv, fetchFromGitHub, cmake, gettext, libxml2, pkgconfig, txt2man, vala, wrapGAppsHook
|
|
, gsettings-desktop-schemas, gtk3, keybinder3, ffmpeg
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "peek-${version}";
|
|
version = "1.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phw";
|
|
repo = "peek";
|
|
rev = version;
|
|
sha256 = "1fnvlklmg6s5rs3ql74isa5fgdkqqrpsyf8k2spxj520239l4vgb";
|
|
};
|
|
|
|
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;
|
|
|
|
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;
|
|
};
|
|
}
|