mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 11:10:03 +00:00
parent
5b9bf6afae
commit
568fb2baa5
|
@ -1,5 +1,5 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, makeWrapper, perl
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, makeWrapper, perl
|
||||||
, ffmpeg-full, imagemagick, xdpyinfo, xprop, xrectsel, xwininfo
|
, ffmpeg-full, gawk, imagemagick, xdpyinfo, xprop, xrectsel, xwininfo
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
postInstall = let
|
postInstall = let
|
||||||
binPath = lib.makeBinPath [
|
binPath = lib.makeBinPath [
|
||||||
ffmpeg-full
|
ffmpeg-full
|
||||||
|
gawk
|
||||||
imagemagick
|
imagemagick
|
||||||
xdpyinfo
|
xdpyinfo
|
||||||
xprop
|
xprop
|
||||||
|
@ -30,12 +31,12 @@ stdenv.mkDerivation rec {
|
||||||
wrapProgram $out/bin/ffcast --prefix PATH : ${binPath}
|
wrapProgram $out/bin/ffcast --prefix PATH : ${binPath}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Run commands on rectangular screen regions";
|
description = "Run commands on rectangular screen regions";
|
||||||
homepage = "https://github.com/ropery/FFcast";
|
homepage = "https://github.com/ropery/FFcast";
|
||||||
license = licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ sikmir ];
|
maintainers = with lib.maintainers; [ sikmir ];
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
mainProgram = "ffcast";
|
mainProgram = "ffcast";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue