From ebb61488ccb36f80f87ed691a4fddc6b94567cc7 Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 23 Feb 2026 15:49:42 +0200 Subject: [PATCH] flashfocus: Apply patch to fix build Not using the 2.8.0 release because it's messed up and doesn't include this patch --- pkgs/by-name/fl/flashfocus/package.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/by-name/fl/flashfocus/package.nix b/pkgs/by-name/fl/flashfocus/package.nix index 5fc0c507d3cb..f2da74a22f2c 100644 --- a/pkgs/by-name/fl/flashfocus/package.nix +++ b/pkgs/by-name/fl/flashfocus/package.nix @@ -2,6 +2,7 @@ lib, python3Packages, fetchPypi, + fetchpatch, netcat-openbsd, procps, bash, @@ -19,6 +20,14 @@ python3Packages.buildPythonApplication (finalAttrs: { hash = "sha256-O6jRQ6e96b8CuumTD6TGELaz26No7WFZgGSnNSlqzuE="; }; + patches = [ + (fetchpatch { + name = "bump-marshmallow.patch"; + url = "https://github.com/fennerm/flashfocus/commit/0ed8616ad31c5e281be1a890ad9510323fa1b6c7.patch"; + hash = "sha256-A7PwvqPpi4koKD3d6SRHVV753hGd9wIf3/nT49f6qoY="; + }) + ]; + postPatch = '' substituteInPlace bin/nc_flash_window \ --replace-fail "nc" "${lib.getExe netcat-openbsd}"