about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/webcord/webcord-vencord/default.nix
blob: 47e06734554771a08d353bd2e5f607a4daec68aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ webcord
, substituteAll
, lib
, vencord-web-extension
}:

webcord.overrideAttrs (old: {
  pname = "webcord-vencord";

  patches = (old.patches or [ ]) ++ [
    (substituteAll {
      src = ./add-extension.patch;
      vencord = vencord-web-extension;
    })
  ];

  meta = with lib; old.meta // {
    description = "Webcord with Vencord web extension";
    maintainers = with maintainers; [ FlafyDev NotAShelf ];
  };
})