forked from mirrors/nixpkgs
flashfocus: use pythonRelaxDepsHook
This commit is contained in:
parent
786f0f2fcb
commit
e96fe2271d
|
@ -10,15 +10,17 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "pyyaml>=5.1,<6.0" "pyyaml>=5.1"
|
|
||||||
|
|
||||||
substituteInPlace bin/nc_flash_window \
|
substituteInPlace bin/nc_flash_window \
|
||||||
--replace "nc" "${lib.getExe netcat-openbsd}"
|
--replace "nc" "${lib.getExe netcat-openbsd}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
pytest-runner
|
pythonRelaxDepsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"pyyaml"
|
||||||
|
"xcffib"
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue