1 { lib, stdenv, fetchFromGitHub, autoreconfHook, makeWrapper, perl
2 , ffmpeg-full, gawk, imagemagick, xdpyinfo, xprop, xrectsel, xwininfo
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
13 sha256 = "sha256-kxqwDGEguFTFHkQzXctXqxslt0+bYnfUdQ8C/8+eTXo=";
16 nativeBuildInputs = [ autoreconfHook makeWrapper perl /*for pod2man*/ ];
18 configureFlags = [ "--disable-xrectsel" ];
21 binPath = lib.makeBinPath [
31 wrapProgram $out/bin/ffcast --prefix PATH : ${binPath}
35 description = "Run commands on rectangular screen regions";
36 homepage = "https://github.com/ropery/FFcast";
37 license = lib.licenses.gpl3Plus;
38 maintainers = with lib.maintainers; [ sikmir ];
39 platforms = lib.platforms.linux;
40 mainProgram = "ffcast";