3
0
Fork 0
forked from mirrors/nixpkgs

flashfocus: use pythonRelaxDepsHook

This commit is contained in:
Robert Schütz 2023-01-21 17:57:51 -08:00
parent 786f0f2fcb
commit e96fe2271d

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; [