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
38 lines
866 B
Nix
38 lines
866 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildGoModule,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "matrix-corporal";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "devture";
|
|
repo = "matrix-corporal";
|
|
rev = version;
|
|
sha256 = "sha256-KSKPTbF1hhzLyD+iL4+hW9EuV+xFYzSzHu1DSGXWm90=";
|
|
};
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X main.GitCommit=${version}"
|
|
"-X main.GitBranch=${version}"
|
|
"-X main.GitState=nixpkgs"
|
|
"-X main.GitSummary=${version}"
|
|
"-X main.Version=${version}"
|
|
];
|
|
|
|
vendorHash = "sha256-sC9JA6VRmHGuO3anaZW2Ih5QnRrUom9IIOE7yi3TTG8=";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/devture/matrix-corporal";
|
|
description = "Reconciliator and gateway for a managed Matrix server";
|
|
maintainers = with maintainers; [ dandellion ];
|
|
mainProgram = "devture-matrix-corporal";
|
|
license = licenses.agpl3Only;
|
|
};
|
|
}
|