mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
28 lines
725 B
Nix
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;
|
|
};
|
|
}
|