From 865868e9cba9925c4b7db9d311b0670b20a6c3f2 Mon Sep 17 00:00:00 2001 From: "Vladyslav M." Date: Sun, 25 Aug 2024 14:57:31 +0300 Subject: [PATCH 1/3] wf-recorder: format with nixfmt-rfc-style --- .../video/wf-recorder/default.nix | 34 +++++++++++++++---- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/video/wf-recorder/default.nix b/pkgs/applications/video/wf-recorder/default.nix index 830c09bfa6d6..2f802548bf0e 100644 --- a/pkgs/applications/video/wf-recorder/default.nix +++ b/pkgs/applications/video/wf-recorder/default.nix @@ -1,7 +1,18 @@ -{ 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, + mesa, # for libgbm }: stdenv.mkDerivation rec { @@ -15,9 +26,20 @@ stdenv.mkDerivation rec { hash = "sha256-SXPXvKXn236oO1WakkMNql3lj2flYYlmArVHGomH0/k="; }; - 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 + mesa ]; meta = with lib; { From 48cbe1b96af7d5dbe2d8e4b66ae6f60d9c01bfcb Mon Sep 17 00:00:00 2001 From: "Vladyslav M." Date: Sun, 25 Aug 2024 15:00:12 +0300 Subject: [PATCH 2/3] wf-recorder: add dywedir to maintainers --- pkgs/applications/video/wf-recorder/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/video/wf-recorder/default.nix b/pkgs/applications/video/wf-recorder/default.nix index 2f802548bf0e..b432da32f6f1 100644 --- a/pkgs/applications/video/wf-recorder/default.nix +++ b/pkgs/applications/video/wf-recorder/default.nix @@ -47,7 +47,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"; }; From 7b242583b3e2f62ee64366f6b74c3470d5f4d2a9 Mon Sep 17 00:00:00 2001 From: "Vladyslav M." Date: Sun, 25 Aug 2024 15:02:00 +0300 Subject: [PATCH 3/3] wf-recorder: 0.4.1 -> 0.5.0 --- pkgs/applications/video/wf-recorder/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/wf-recorder/default.nix b/pkgs/applications/video/wf-recorder/default.nix index b432da32f6f1..b2f848773c8a 100644 --- a/pkgs/applications/video/wf-recorder/default.nix +++ b/pkgs/applications/video/wf-recorder/default.nix @@ -12,18 +12,19 @@ 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 = [ @@ -39,6 +40,7 @@ stdenv.mkDerivation rec { ffmpeg x264 libpulseaudio + pipewire mesa ];