i3a: relax python version constraint

This commit is contained in:
Martin Weinelt 2022-06-06 01:48:50 +02:00 committed by Jonathan Ringer
parent 852ef21b34
commit 9641ef024d
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -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";