Merge pull request #257139 from Artturin/flashfocusupd

This commit is contained in:
Artturi 2023-09-27 08:26:18 +03:00 committed by GitHub
commit 54de1010e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,14 @@
{ 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