2017-11-29 07:50:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, gettext, libxml2, pkgconfig, txt2man, vala, wrapGAppsHook
|
2018-02-25 02:23:58 +00:00
|
|
|
, gsettings-desktop-schemas, gtk3, keybinder3
|
2017-11-29 07:50:40 +00:00
|
|
|
}:
|
2017-11-27 23:25:21 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "peek-${version}";
|
2018-02-27 17:34:46 +00:00
|
|
|
version = "1.2.2";
|
2017-11-27 23:25:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phw";
|
|
|
|
repo = "peek";
|
|
|
|
rev = version;
|
2018-02-27 17:34:46 +00:00
|
|
|
sha256 = "1ihmq914g2h5iw86bigkkblzqimr50yq6z883lzq656xkcayd8gh";
|
2017-11-27 23:25:21 +00:00
|
|
|
};
|
|
|
|
|
2017-11-29 07:50:40 +00:00
|
|
|
nativeBuildInputs = [ cmake gettext pkgconfig libxml2.bin txt2man vala wrapGAppsHook ];
|
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ gsettings-desktop-schemas gtk3 keybinder3 ];
|
2017-11-29 07:50:40 +00:00
|
|
|
|
|
|
|
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 ];
|
2017-11-29 07:50:40 +00:00
|
|
|
platforms = platforms.linux;
|
2017-11-27 23:25:21 +00:00
|
|
|
};
|
|
|
|
}
|