2017-11-29 08:50:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, gettext, libxml2, pkgconfig, txt2man, vala, wrapGAppsHook
|
|
|
|
, gsettings_desktop_schemas, gtk3, keybinder3
|
|
|
|
}:
|
2017-11-28 00:25:21 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "peek-${version}";
|
|
|
|
version = "1.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phw";
|
|
|
|
repo = "peek";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "04sc6gfrqvnx288rmgsywpjx9l6jcfn2qdbwjcbdvx4wl3gna0qm";
|
|
|
|
};
|
|
|
|
|
2017-11-29 08:50:40 +01:00
|
|
|
nativeBuildInputs = [ cmake gettext pkgconfig libxml2.bin txt2man vala wrapGAppsHook ];
|
|
|
|
|
|
|
|
buildInputs = [ gsettings_desktop_schemas gtk3 keybinder3 ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2017-11-28 00:25:21 +01: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 ];
|
2017-11-29 08:50:40 +01:00
|
|
|
platforms = platforms.linux;
|
2017-11-28 00:25:21 +01:00
|
|
|
};
|
|
|
|
}
|