Merge pull request #212031 from dotlambda/flashfocus-fix
flashfocus: use pythonRelaxDepsHook
This commit is contained in:
commit
94ca24d932
1 changed files with 6 additions and 4 deletions
|
@ -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; [
|
||||
|
|
Loading…
Reference in a new issue