nixpkgs/pkgs/servers/irc/irccat/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

24 lines
618 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "irccat";
version = "0.4.8";
src = fetchFromGitHub {
owner = "irccloud";
repo = "irccat";
rev = "v${version}";
hash = "sha256-fr5x1usviJPbc4t5SpIVgV9Q6071XG8eYtyeyraddts=";
};
vendorHash = "sha256-IRXyM000ZDiLPHX20lXlx00tkCzBe5PqvdgXAvm0EAw=";
meta = with lib; {
homepage = "https://github.com/irccloud/irccat";
description = "Send events to IRC channels from scripts and other applications";
mainProgram = "irccat";
maintainers = with maintainers; [ qyliss ];
license = licenses.gpl3Only;
};
}