depot/third_party/nixpkgs/pkgs/servers/irc/ergochat/default.nix

28 lines
727 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib, nixosTests }:
buildGoModule rec {
pname = "ergo";
version = "2.13.0";
src = fetchFromGitHub {
owner = "ergochat";
repo = "ergo";
rev = "v${version}";
sha256 = "sha256-EoYyLmz6MfLkLY0WbHfFvKwrcWApty6/+UCslm8P0Q0=";
};
vendorHash = null;
passthru.tests.ergochat = nixosTests.ergochat;
meta = {
changelog = "https://github.com/ergochat/ergo/blob/v${version}/CHANGELOG.md";
description = "A 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;
};
}