flashfocus: Apply patch to fix build
Not using the 2.8.0 release because it's messed up and doesn't include this patch
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user