anchor.diff:  , granite
   , libgee
   , bamf
  -, libcanberra
   , libcanberra-gtk3
   , gnome-desktop
   , mutter
   , clutter
  -, elementary-dock
   , elementary-icon-theme
  -, elementary-settings-daemon
   , gnome-settings-daemon
   , wrapGAppsHook
   , gexiv2
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "gala";
    version = "6.2.1";
  
    src = fetchFromGitHub {
      owner = "elementary";
      repo = pname;
      rev = version;
      sha256 = "1phnhj731kvk8ykmm33ypcxk8fkfny9k6kdapl582qh4d47wcy6f";
    };
  
    patches = [
      ./plugins-dir.patch
      # Multitasking view: Don't use smooth scroll events to handle mouse wheel
      # Avoid breaking the multitasking view scroll once xf86-input-libinput 1.2.0 lands
      # https://github.com/elementary/gala/pull/1266
      (fetchpatch {
        url = "https://github.com/elementary/gala/commit/d2dcfdefdf97c1b49654179a7acd01ebfe017308.patch";
        sha256 = "sha256-2lKrCz3fSjrfKfysuUHzeUjhmMm84K47n882CLpfAyg=";
      })
    ];
  
  
negative.code:     };
    };
  
    meta = with lib; {
      description = "A window & compositing manager based on mutter and designed by elementary for use with Pantheon";
      homepage = "https://github.com/elementary/gala";
      license = licenses.gpl3Plus;
  