lol
1{ lib, python3Packages }:
2
3python3Packages.buildPythonApplication rec {
4 pname = "i3a";
5 version = "2.0.1";
6
7 src = python3Packages.fetchPypi {
8 inherit pname version;
9 hash = "sha256-2k1HYtgJ76qXLvX6RmOSKtMMg+K722n8U9YmBANvQvE=";
10 };
11
12 postPatch = ''
13 substituteInPlace setup.py \
14 --replace "python_requires='>=3.7,<3.10'," "python_requires='>=3.7',"
15 '';
16
17 nativeBuildInputs = [ python3Packages.setuptools-scm ];
18
19 propagatedBuildInputs = [ python3Packages.i3ipc ];
20
21 doCheck = false;
22
23 meta = with lib; {
24 homepage = "https://git.goral.net.pl/mgoral/i3a";
25 description = "A set of scripts used for automation of i3 and sway window manager layouts";
26 license = licenses.gpl3Plus;
27 maintainers = with maintainers; [ fortuneteller2k ];
28 };
29}