nixpkgs/pkgs/servers/irc/robustirc-bridge/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
728 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
2020-08-30 16:30:26 +00:00
buildGoModule rec {
pname = "robustirc-bridge";
2023-07-05 02:58:15 +00:00
version = "1.9.0";
2020-08-30 16:30:26 +00:00
src = fetchFromGitHub {
owner = "robustirc";
repo = "bridge";
rev = "v${version}";
2023-07-05 02:58:15 +00:00
hash = "sha256-8SNy3xqVahBuEXCrG21zIggXeahbzJtqtFMxfp+r48g=";
2020-08-30 16:30:26 +00:00
};
2023-07-05 02:58:15 +00:00
vendorHash = "sha256-NBouR+AwQd7IszEcnYRxHFKtCdVTdfOWnzYjdZ5fXfs=";
2020-08-30 16:30:26 +00:00
postInstall = ''
install -D robustirc-bridge.1 $out/share/man/man1/robustirc-bridge.1
'';
2020-08-30 16:31:54 +00:00
passthru.tests.robustirc-bridge = nixosTests.robustirc-bridge;
meta = with lib; {
2020-08-30 16:30:26 +00:00
description = "Bridge to robustirc.net-IRC-Network";
homepage = "https://robustirc.net/";
license = licenses.bsd3;
maintainers = [ maintainers.hax404 ];
};
}