pyprland: 1.10.2 -> 2.0.3

This commit is contained in:
iliayar 2024-02-21 02:53:11 +03:00
parent bd96c7857d
commit 9f04c8a658
No known key found for this signature in database
GPG key ID: 3FE87CB13CB3AC4E

View file

@ -2,7 +2,7 @@
python3Packages.buildPythonApplication rec {
pname = "pyprland";
version = "1.10.2";
version = "2.0.3";
format = "pyproject";
disabled = python3Packages.pythonOlder "3.10";
@ -11,11 +11,13 @@ python3Packages.buildPythonApplication rec {
owner = "hyprland-community";
repo = "pyprland";
rev = "refs/tags/${version}";
hash = "sha256-ZbxrfxgURs+XHegsdZ7Z42o7flQ8Jt2rfR2RwDmGpls=";
hash = "sha256-9adWd3UizJReftp7riMq4Fyp2dnmv+xtHoEQ2cycYFM=";
};
nativeBuildInputs = with python3Packages; [ poetry-core ];
propagatedBuildInputs = with python3Packages; [ aiofiles ];
postInstall = ''
# file has shebang but cant be run due to a relative import, has proper entrypoint in /bin
chmod -x $out/${python3Packages.python.sitePackages}/pyprland/command.py
@ -26,12 +28,15 @@ python3Packages.buildPythonApplication rec {
pythonImportsCheck = [
"pyprland"
"pyprland.adapters"
"pyprland.adapters.menus"
"pyprland.command"
"pyprland.common"
"pyprland.ipc"
"pyprland.plugins"
"pyprland.plugins.experimental"
"pyprland.plugins.expose"
"pyprland.plugins.fetch_client_menu"
"pyprland.plugins.interface"
"pyprland.plugins.layout_center"
"pyprland.plugins.lost_windows"
@ -41,6 +46,8 @@ python3Packages.buildPythonApplication rec {
"pyprland.plugins.pyprland"
"pyprland.plugins.scratchpads"
"pyprland.plugins.shift_monitors"
"pyprland.plugins.shortcuts_menu"
"pyprland.plugins.system_notifier"
"pyprland.plugins.toggle_dpms"
"pyprland.plugins.toggle_special"
"pyprland.plugins.workspaces_follow_focus"