Merge pull request #337230 from dywedir/wf-recorder

This commit is contained in:
Franz Pletz 2024-08-25 14:54:48 +02:00 committed by GitHub
commit 00c100c023
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,23 +1,47 @@
{ lib, stdenv, fetchFromGitHub
, meson, ninja, pkg-config, scdoc, wayland-scanner
, wayland, wayland-protocols, ffmpeg, x264, libpulseaudio
, mesa # for libgbm
{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
pkg-config,
scdoc,
wayland-scanner,
wayland,
wayland-protocols,
ffmpeg,
x264,
libpulseaudio,
pipewire,
mesa, # for libgbm
}:
stdenv.mkDerivation rec {
pname = "wf-recorder";
version = "0.4.1";
version = "0.5.0";
src = fetchFromGitHub {
owner = "ammen99";
repo = pname;
rev = "v${version}";
hash = "sha256-SXPXvKXn236oO1WakkMNql3lj2flYYlmArVHGomH0/k=";
hash = "sha256-7/fQOkfAw5v3irD5blJOdq88j0VBrPVQQufdt9wsACk=";
};
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner scdoc ];
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
scdoc
];
buildInputs = [
wayland wayland-protocols ffmpeg x264 libpulseaudio mesa
wayland
wayland-protocols
ffmpeg
x264
libpulseaudio
pipewire
mesa
];
meta = with lib; {
@ -25,7 +49,7 @@ stdenv.mkDerivation rec {
inherit (src.meta) homepage;
changelog = "https://github.com/ammen99/wf-recorder/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ ];
maintainers = with maintainers; [ dywedir ];
platforms = platforms.linux;
mainProgram = "wf-recorder";
};