1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 11:10:03 +00:00

ffcast: add awk to path

(cherry picked from commit 55ff4178e8)
This commit is contained in:
Nikolay Korotkiy 2024-09-10 19:04:35 +04:00 committed by github-actions[bot]
parent 5b9bf6afae
commit 568fb2baa5

View file

@ -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";
}; };
} }