mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
27 lines
780 B
Nix
27 lines
780 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "matrix-corporal";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "devture";
|
|
repo = pname;
|
|
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}"
|
|
];
|
|
|
|
vendorSha256 = "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 ];
|
|
license = licenses.agpl3Only;
|
|
};
|
|
}
|