nixpkgs/pkgs/applications/window-managers/picom/picom-next.nix
Lin Jian a7a20d0109
picom-next: add meta.maintainers correctly
The old way of setting meta.maintainers removes other meta attributes
such as meta.mainProgram.
2023-08-17 09:05:49 +08:00

36 lines
658 B
Nix

{ lib
, fetchFromGitHub
, libXinerama
, pcre
, pcre2
, picom
, xcbutil
}:
picom.overrideAttrs (oldAttrs: {
pname = "picom-next";
version = "unstable-2023-08-03";
buildInputs = [
pcre2
xcbutil
]
# remove dependencies that are not used anymore
++ (lib.subtractLists [
libXinerama
pcre
]
oldAttrs.buildInputs);
src = fetchFromGitHub {
owner = "yshui";
repo = "picom";
rev = "5d6957d3da1bf99311a676eab94c69ef4276bedf";
hash = "sha256-Mzf0533roLSODjMCPKyGSMbP7lIbT+PoLTZfoIBAI6g=";
};
meta = oldAttrs.meta // {
maintainers = with lib.maintainers; oldAttrs.meta.maintainers ++ [ GKasparov ];
};
})