flashfocus: use make it possible to use nc_flash_window
it is faster than flash_window it needs netcat-openbsd
This commit is contained in:
parent
165d8e6db5
commit
51838e184e
|
@ -1,4 +1,4 @@
|
|||
{ lib, python3 }:
|
||||
{ lib, python3, netcat-openbsd }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "flashfocus";
|
||||
|
@ -12,6 +12,9 @@ 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; [
|
||||
|
|
Loading…
Reference in a new issue