12 stdenv.mkDerivation rec {
13 pname = "gancio-plugin-telegram-bridge";
16 src = fetchFromGitLab {
17 domain = "framagit.org";
18 owner = "bcn.convocala";
19 repo = "gancio-plugin-telegram-bridge";
21 hash = "sha256-URiyV7bl8t25NlVJM/gEqPB67TZ4vQdfu4mvHITteSQ=";
24 # upstream doesn't provide a yarn.lock file
26 cp --no-preserve=all ${./yarn.lock} ./yarn.lock
29 offlineCache = fetchYarnDeps {
30 yarnLock = ./yarn.lock;
31 hash = "sha256-BcRVmVA5pnFzpg2gN/nKLzENnoEdwrE0EgulDizq8Ok=";
41 ln -s "$out/lib/node_modules/gancio-plugin-telegram/index.js" "$out/index.js"
42 ln -s "$out/lib/node_modules/gancio-plugin-telegram/node_modules" "$out/node_modules"
47 updateScript = nix-update-script { };
51 description = "Telegram bridge for Gancio, republishes content to Telegram channels or groups";
52 homepage = "https://framagit.org/bcn.convocala/gancio-plugin-telegram-bridge";
53 license = lib.licenses.agpl3Plus;
54 platforms = lib.platforms.linux;
55 maintainers = with lib.maintainers; [ jbgi ];