3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/video/peek/default.nix

79 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv
, fetchFromGitHub
, meson
, ninja
, gettext
, desktop-file-utils
, appstream-glib
, pkgconfig
, txt2man
, gzip
, vala
, wrapGAppsHook
, gsettings-desktop-schemas
, gtk3
, glib
, cairo
, keybinder3
, ffmpeg_3
, python3
, libxml2
, gst_all_1
, which
, gifski
}:
2017-11-27 23:25:21 +00:00
stdenv.mkDerivation rec {
pname = "peek";
2020-02-23 01:22:20 +00:00
version = "1.5.1";
2017-11-27 23:25:21 +00:00
src = fetchFromGitHub {
owner = "phw";
repo = "peek";
2017-11-27 23:25:21 +00:00
rev = version;
2020-02-23 01:22:20 +00:00
sha256 = "1xwlfizga6hvjqq127py8vabaphsny928ar7mwqj9cyqfl6fx41x";
2017-11-27 23:25:21 +00:00
};
nativeBuildInputs = [
appstream-glib
desktop-file-utils
gettext
gzip
meson
ninja
libxml2
pkgconfig
txt2man
python3
vala
wrapGAppsHook
];
buildInputs = [
cairo
glib
gsettings-desktop-schemas
gtk3
gst_all_1.gstreamer
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-ugly
keybinder3
];
postPatch = ''
patchShebangs build-aux/meson/postinstall.py data/man/build_man.sh
'';
preFixup = ''
gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ which ffmpeg_3 gifski ]})
'';
2017-11-27 23:25:21 +00:00
meta = with stdenv.lib; {
2020-02-23 01:22:20 +00:00
homepage = "https://github.com/phw/peek";
2017-11-27 23:25:21 +00:00
description = "Simple animated GIF screen recorder with an easy to use interface";
license = licenses.gpl3;
maintainers = with maintainers; [ puffnfresh worldofpeace ];
platforms = platforms.linux;
2017-11-27 23:25:21 +00:00
};
}