diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/mattermost/matterircd.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/mattermost/matterircd.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/mattermost/matterircd.nix b/nixpkgs/pkgs/servers/mattermost/matterircd.nix new file mode 100644 index 000000000000..9a3b5b6357f7 --- /dev/null +++ b/nixpkgs/pkgs/servers/mattermost/matterircd.nix @@ -0,0 +1,25 @@ +{ 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; [ ]; + }; +} |