nixpkgs/pkgs/applications/networking/irc/ircdog/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

30 lines
703 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "ircdog";
version = "0.5.2";
src = fetchFromGitHub {
owner = "goshuirc";
repo = "ircdog";
rev = "refs/tags/v${version}";
hash = "sha256-rV9IBa30v1T3Zw/av8nfmX9Bg20FPAGdJkMn17r8rYw=";
};
vendorHash = null;
meta = with lib; {
description = "ircdog is a simple wrapper over the raw IRC protocol that can respond to pings, and interprets formatting codes";
mainProgram = "ircdog";
homepage = "https://github.com/ergochat/ircdog";
changelog = "https://github.com/ergochat/ircdog/releases/tag/v${version}";
license = licenses.isc;
maintainers = with maintainers; [ hexa ];
};
}