Unverified Commit 54de1010 authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #257139 from Artturin/flashfocusupd

parents 198f108a 9f78b12f
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
{ lib, python3, fetchPypi, netcat-openbsd, nix-update-script }:
{ lib, python3Packages, fetchPypi, netcat-openbsd, nix-update-script }:

python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
  pname = "flashfocus";
  version = "2.3.1";
  version = "2.4.0";

  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-XT3CKJWn1uKnPPsJC+MWlEAd8sWdVTEXz5b3n0UUedY=";
    sha256 = "sha256-TKqPUJq3t2EjX6sY3NSuW0sCq4IS4PNMaaFNe+5hvoY=";
  };

  postPatch = ''
@@ -14,8 +16,9 @@ python3.pkgs.buildPythonApplication rec {
      --replace "nc" "${lib.getExe netcat-openbsd}"
  '';

  nativeBuildInputs = with python3.pkgs; [
  nativeBuildInputs = with python3Packages; [
    pythonRelaxDepsHook
    setuptools
  ];

  pythonRelaxDeps = [
@@ -23,7 +26,7 @@ python3.pkgs.buildPythonApplication rec {
    "xcffib"
  ];

  propagatedBuildInputs = with python3.pkgs; [
  propagatedBuildInputs = with python3Packages; [
    i3ipc
    xcffib
    click