Merge pull request #212031 from dotlambda/flashfocus-fix

flashfocus: use pythonRelaxDepsHook
This commit is contained in:
Fabian Affolter 2023-01-22 12:34:41 +01:00 committed by GitHub
commit 94ca24d932
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,15 +10,17 @@ python3.pkgs.buildPythonApplication rec {
};
postPatch = ''
substituteInPlace setup.py \
--replace "pyyaml>=5.1,<6.0" "pyyaml>=5.1"
substituteInPlace bin/nc_flash_window \
--replace "nc" "${lib.getExe netcat-openbsd}"
'';
nativeBuildInputs = with python3.pkgs; [
pytest-runner
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"pyyaml"
"xcffib"
];
propagatedBuildInputs = with python3.pkgs; [