btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / we / webcord-vencord / package.nix
blob2ac078def4eed35027002675c0188073678c5168
2   # allow overriding electron
3   electron,
4   webcord,
5   substituteAll,
6   lib,
7   vencord-web-extension,
8 }:
10 # nixpkgs-update: no auto update
11 (webcord.override { inherit electron; }).overrideAttrs (old: {
12   pname = "webcord-vencord";
14   patches = (old.patches or [ ]) ++ [
15     (substituteAll {
16       src = ./add-extension.patch;
17       vencord = vencord-web-extension;
18     })
19   ];
21   meta = {
22     inherit (old.meta) license mainProgram platforms;
24     description = "Webcord with Vencord web extension";
25     maintainers = with lib.maintainers; [
26       FlafyDev
27       NotAShelf
28     ];
29   };