2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
2020-08-30 18:30:26 +02:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "robustirc-bridge";
|
|
|
|
version = "1.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "robustirc";
|
|
|
|
repo = "bridge";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "12jzil97147f978shdgm6whz7699db0shh0c1fzgrjh512dw502c";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "0lm8j2iz0yysgi0bbh78ca629kb6sxvyy9al3aj2587hpvy79q85";
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
install -D robustirc-bridge.1 $out/share/man/man1/robustirc-bridge.1
|
|
|
|
'';
|
|
|
|
|
2020-08-30 18:31:54 +02:00
|
|
|
passthru.tests.robustirc-bridge = nixosTests.robustirc-bridge;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-08-30 18:30:26 +02:00
|
|
|
description = "Bridge to robustirc.net-IRC-Network";
|
|
|
|
homepage = "https://robustirc.net/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.hax404 ];
|
|
|
|
};
|
|
|
|
}
|