Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
884 B
Nix
40 lines
884 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
makeWrapper,
|
|
python3,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "bbctl";
|
|
version = "0.13.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "beeper";
|
|
repo = "bridge-manager";
|
|
tag = "v${version}";
|
|
hash = "sha256-bNnansZNshWp70LQQsa6+bS+LJxpCzdTkL2pX+ksrP0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
makeWrapper
|
|
];
|
|
|
|
vendorHash = "sha256-yTNUxwnulQ+WbHdQbeNDghH4RPXurQMIgKDyXfrMxG8=";
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/bbctl \
|
|
--prefix PATH : ${python3}/bin
|
|
'';
|
|
|
|
meta = {
|
|
description = "Tool for running self-hosted bridges with the Beeper Matrix server";
|
|
homepage = "https://github.com/beeper/bridge-manager";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.heywoodlh ];
|
|
mainProgram = "bbctl";
|
|
changelog = "https://github.com/beeper/bridge-manager/releases/tag/v${version}";
|
|
};
|
|
}
|