about summary refs log tree commit diff
path: root/pkgs/applications/window-managers/picom/picom-next.nix
blob: 22c748088074917bc9bb17c2ba701438f17c6361 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ 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 ];
  };
})