From 9641ef024d6ff2cf4af13bff9884b6e7026ac53d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 6 Jun 2022 01:48:50 +0200 Subject: [PATCH] i3a: relax python version constraint --- pkgs/misc/i3a/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/misc/i3a/default.nix b/pkgs/misc/i3a/default.nix index 36f58c16cc2d..3171289bcac7 100644 --- a/pkgs/misc/i3a/default.nix +++ b/pkgs/misc/i3a/default.nix @@ -9,9 +9,17 @@ python3Packages.buildPythonApplication rec { hash = "sha256-2k1HYtgJ76qXLvX6RmOSKtMMg+K722n8U9YmBANvQvE="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "python_requires='>=3.7,<3.10'," "python_requires='>=3.7'," + ''; + nativeBuildInputs = [ python3Packages.setuptools-scm ]; + propagatedBuildInputs = [ python3Packages.i3ipc ]; + doCheck = false; + meta = with lib; { homepage = "https://git.goral.net.pl/mgoral/i3a"; description = "A set of scripts used for automation of i3 and sway window manager layouts";