nixpkgs/pkgs/servers/mattermost/matterircd.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

25 lines
574 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "matterircd";
version = "0.28.0";
src = fetchFromGitHub {
owner = "42wim";
repo = "matterircd";
rev = "v${version}";
sha256 = "sha256-qA07i31fGLLIfWoCBW1f5nvf4AWEIkSXZh22F6rRnpM=";
};
vendorHash = null;
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Minimal IRC server bridge to Mattermost";
mainProgram = "matterircd";
homepage = "https://github.com/42wim/matterircd";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}