pyprland: add patch that fixes integration with hyprland (#467280)

This commit is contained in:
Aleksana
2025-12-03 12:50:23 +00:00
committed by GitHub
+11
View File
@@ -1,6 +1,7 @@
{
lib,
fetchFromGitHub,
fetchpatch,
python3Packages,
nix-update-script,
}:
@@ -19,6 +20,16 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-rtAw6tdZY0BKb6Qjk/LHYYMB9nCPzkmw95wdjhJ191s=";
};
patches = [
# Remove this patch from versions higher than 2.4.7-17.
# Fixes integration with pyprland 0.52.0+.
(fetchpatch {
url = "https://github.com/hyprland-community/pyprland/commit/21c0479a52df41f15bb798e28f67daab8b1ad0e3.patch";
hash = "sha256-QwEGdraSZmz9goCBTKQLArqQse1TP8b188uiIISshWc=";
includes = [ "pyprland/plugins/pyprland.py" ];
})
];
nativeBuildInputs = with python3Packages; [ poetry-core ];
propagatedBuildInputs = with python3Packages; [ aiofiles ];