2023-05-25 17:07:31 +03:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2022-02-24 10:02:39 +03:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "i3a";
|
|
|
|
version = "2.0.1";
|
|
|
|
|
2023-05-25 17:07:31 +03:00
|
|
|
src = fetchPypi {
|
2022-02-24 10:02:39 +03:00
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-2k1HYtgJ76qXLvX6RmOSKtMMg+K722n8U9YmBANvQvE=";
|
|
|
|
};
|
|
|
|
|
2022-06-06 02:48:50 +03:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.py \
|
|
|
|
--replace "python_requires='>=3.7,<3.10'," "python_requires='>=3.7',"
|
|
|
|
'';
|
|
|
|
|
2022-02-24 10:02:39 +03:00
|
|
|
nativeBuildInputs = [ python3Packages.setuptools-scm ];
|
2022-06-06 02:48:50 +03:00
|
|
|
|
2022-02-24 10:02:39 +03:00
|
|
|
propagatedBuildInputs = [ python3Packages.i3ipc ];
|
|
|
|
|
2022-06-06 02:48:50 +03:00
|
|
|
doCheck = false;
|
|
|
|
|
2022-02-24 10:02:39 +03:00
|
|
|
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";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ fortuneteller2k ];
|
|
|
|
};
|
|
|
|
}
|