diff options
author | Robert Schütz <nix@dotlambda.de> | 2023-01-21 17:57:51 -0800 |
---|---|---|
committer | Robert Schütz <nix@dotlambda.de> | 2023-01-21 17:57:51 -0800 |
commit | e96fe2271db17374201c2a9c1d4ca2c86e8f04f7 (patch) | |
tree | 0bff177f4bebd81b56d2e45c53f54119c11b52fc /pkgs/misc | |
parent | 786f0f2fcb27bc3795df5c300d7c0641b62c0df6 (diff) |
flashfocus: use pythonRelaxDepsHook
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/flashfocus/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/misc/flashfocus/default.nix b/pkgs/misc/flashfocus/default.nix index 5f6df66dd422d..e43dc00ba277d 100644 --- a/pkgs/misc/flashfocus/default.nix +++ b/pkgs/misc/flashfocus/default.nix @@ -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; [ |