Unverified Commit 9d2daaa7 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

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

parents 5722771e c36c2cba
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
{
  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 ];