depot/third_party/nixpkgs/pkgs/misc/i3a/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

29 lines
775 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "i3a";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
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";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fortuneteller2k ];
};
}