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

ffcast: add awk to path (#341031)

This commit is contained in:
Artturin 2024-09-10 22:35:52 +03:00 committed by GitHub
commit e0d1dd876e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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