mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
a7a20d0109
The old way of setting meta.maintainers removes other meta attributes such as meta.mainProgram.
36 lines
658 B
Nix
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 ];
|
|
};
|
|
})
|