From 568fb2baa5a6c5c9818c92576e8b312a45357c69 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Tue, 10 Sep 2024 19:04:35 +0400 Subject: [PATCH] ffcast: add awk to path (cherry picked from commit 55ff4178e82ec85588895c19dadb7cb7e6ff4cd0) --- pkgs/tools/X11/ffcast/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/X11/ffcast/default.nix b/pkgs/tools/X11/ffcast/default.nix index c70ef9da2e3c..cdf94928033b 100644 --- a/pkgs/tools/X11/ffcast/default.nix +++ b/pkgs/tools/X11/ffcast/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchFromGitHub, autoreconfHook, makeWrapper, perl -, ffmpeg-full, imagemagick, xdpyinfo, xprop, xrectsel, xwininfo +, ffmpeg-full, gawk, imagemagick, xdpyinfo, xprop, xrectsel, xwininfo }: stdenv.mkDerivation rec { @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { postInstall = let binPath = lib.makeBinPath [ ffmpeg-full + gawk imagemagick xdpyinfo xprop @@ -30,12 +31,12 @@ stdenv.mkDerivation rec { wrapProgram $out/bin/ffcast --prefix PATH : ${binPath} ''; - meta = with lib; { + meta = { description = "Run commands on rectangular screen regions"; homepage = "https://github.com/ropery/FFcast"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ sikmir ]; - platforms = platforms.linux; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ sikmir ]; + platforms = lib.platforms.linux; mainProgram = "ffcast"; }; }