From 72de8ae072fcdcf029935330fb105562da4c7907 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 5 May 2025 15:22:37 +0100 Subject: [PATCH] linuxPackages.mwprocapture: 1.3.0.4390 -> 1.3.4418 #403297 Version V1.3.0.4390 of mwprocapture (the Linux driver for the Magewell Pro Capture family) FTBFS when building against Linux 6.12 or newer. Magewell offer a revised driver. This pull request updates the driver version to 1.3.4418 to address this issue. *Note the version numbering has changed in this release*. Vendor change log: - Fix the compatibility issue of the kernel driver for RHEL9.4. - Add the preset function for contrast/brightness/saturation/hue values. - Support the installation of drivers in a Secure Boot environment. Tested using a Magewell Pro Capture Dual HDMI (11080) and Magewell Pro Capture Quad HDMI (11100). This fixes #403297 (cherry picked from commit b5d7937b88d9b9f2e0f33951ed03bf43270cfb3d) --- pkgs/os-specific/linux/mwprocapture/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/os-specific/linux/mwprocapture/default.nix b/pkgs/os-specific/linux/mwprocapture/default.nix index 28c2e11e429c..9dfc04ede158 100644 --- a/pkgs/os-specific/linux/mwprocapture/default.nix +++ b/pkgs/os-specific/linux/mwprocapture/default.nix @@ -18,12 +18,12 @@ let in stdenv.mkDerivation rec { pname = "mwprocapture"; - subVersion = "4390"; - version = "1.3.0.${subVersion}-${kernel.version}"; + subVersion = "1.3.4418"; + version = "${subVersion}-${kernel.version}"; src = fetchurl { url = "https://www.magewell.com/files/drivers/ProCaptureForLinux_${subVersion}.tar.gz"; - sha256 = "sha256-a2cU7PYQh1KR5eeMhMNx2Sc3HHd7QvCG9+BoJyVPp1Y="; + sha256 = "sha256-ZUqJkARhaMo9aZOtUMEdiHEbEq10lJO6MkGjEDnfx1g="; }; nativeBuildInputs = kernel.moduleBuildDependencies; @@ -65,11 +65,12 @@ stdenv.mkDerivation rec { "$out"/bin/mwcap-info ''; - meta = with lib; { + meta = { homepage = "https://www.magewell.com/"; description = "Linux driver for the Magewell Pro Capture family"; - license = licenses.unfreeRedistributable; - maintainers = with maintainers; [ flexiondotorg ]; - platforms = platforms.linux; + license = lib.licenses.unfreeRedistributable; + maintainers = with lib.maintainers; [ flexiondotorg ]; + platforms = lib.platforms.linux; + broken = lib.versionAtLeast kernel.version "6.15"; }; }