nixpkgs/pkgs/servers/mattermost/matterircd.nix

26 lines
574 B
Nix

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