2024-05-04 19:53:58 +01:00
|
|
|
{
|
2024-05-20 21:11:48 +01:00
|
|
|
# allow overriding electron
|
|
|
|
electron,
|
2024-05-04 19:53:58 +01:00
|
|
|
webcord,
|
|
|
|
substituteAll,
|
|
|
|
lib,
|
|
|
|
vencord-web-extension,
|
2023-04-16 21:27:32 +01:00
|
|
|
}:
|
2023-07-04 04:33:53 +01:00
|
|
|
|
2024-05-04 06:15:20 +01:00
|
|
|
# nixpkgs-update: no auto update
|
2024-05-20 21:11:48 +01:00
|
|
|
(webcord.override { inherit electron; }).overrideAttrs (old: {
|
2023-09-11 23:48:48 +01:00
|
|
|
pname = "webcord-vencord";
|
|
|
|
|
2023-04-16 21:27:32 +01:00
|
|
|
patches = (old.patches or [ ]) ++ [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./add-extension.patch;
|
2023-04-30 21:20:57 +01:00
|
|
|
vencord = vencord-web-extension;
|
2023-04-16 21:27:32 +01:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2024-05-04 19:58:07 +01:00
|
|
|
meta = {
|
|
|
|
inherit (old.meta) license mainProgram platforms;
|
|
|
|
|
|
|
|
description = "Webcord with Vencord web extension";
|
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
FlafyDev
|
|
|
|
NotAShelf
|
|
|
|
];
|
|
|
|
};
|
2023-08-16 04:56:23 +01:00
|
|
|
})
|