mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 12:38:32 +00:00
flashfocus: use pythonRelaxDepsHook
This commit is contained in:
parent
786f0f2fcb
commit
e96fe2271d
@ -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 New Issue
Block a user