1 { lib, python3Packages, fetchPypi, netcat-openbsd, nix-update-script }:
3 python3Packages.buildPythonApplication rec {
10 inherit pname version;
11 hash = "sha256-O6jRQ6e96b8CuumTD6TGELaz26No7WFZgGSnNSlqzuE=";
15 substituteInPlace bin/nc_flash_window \
16 --replace "nc" "${lib.getExe netcat-openbsd}"
19 nativeBuildInputs = with python3Packages; [
28 propagatedBuildInputs = with python3Packages; [
38 # Tests require access to a X session
41 pythonImportsCheck = [ "flashfocus" ];
43 passthru.updateScript = nix-update-script { };
46 homepage = "https://github.com/fennerm/flashfocus";
47 description = "Simple focus animations for tiling window managers";
48 license = licenses.mit;
49 platforms = platforms.linux;
50 maintainers = with maintainers; [ artturin ];