nixpkgs/pkgs/servers/irc/ergochat/default.nix
2024-07-01 14:04:28 +00:00

28 lines
725 B
Nix

{ buildGoModule, fetchFromGitHub, lib, nixosTests }:
buildGoModule rec {
pname = "ergo";
version = "2.14.0";
src = fetchFromGitHub {
owner = "ergochat";
repo = "ergo";
rev = "v${version}";
sha256 = "sha256-vXspI0BkwpS9w7PQpj+U3REQcSPaPJAfIBRj62loQzQ=";
};
vendorHash = null;
passthru.tests.ergochat = nixosTests.ergochat;
meta = {
changelog = "https://github.com/ergochat/ergo/blob/v${version}/CHANGELOG.md";
description = "Modern IRC server (daemon/ircd) written in Go";
mainProgram = "ergo";
homepage = "https://github.com/ergochat/ergo";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lassulus tv ];
platforms = lib.platforms.linux;
};
}