2022-02-10 20:34:41 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib, nixosTests }:
|
2022-01-19 23:45:15 +00:00
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
buildGoModule rec {
|
2022-01-19 23:45:15 +00:00
|
|
|
pname = "ergo";
|
2022-06-26 10:26:21 +00:00
|
|
|
version = "2.10.0";
|
2022-01-19 23:45:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ergochat";
|
|
|
|
repo = "ergo";
|
|
|
|
rev = "v${version}";
|
2022-06-26 10:26:21 +00:00
|
|
|
sha256 = "sha256-SydseZSEuFhbaU4OMnT8zFLbRfmeKwXsZZeDh8mbZco=";
|
2022-01-19 23:45:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = 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";
|
|
|
|
homepage = "https://github.com/ergochat/ergo";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ lassulus tv ];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|