diff options
author | Malte Voos <malte@malvo.org> | 2021-05-20 17:28:20 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-05-20 14:18:03 -0700 |
commit | cf5e5fe76dbf603d103603edec9f000f26e658f4 (patch) | |
tree | ff90ab3c4dc23ac7ab3e829e5709296ff71f257e /pkgs/applications/networking/soju | |
parent | c96586d63f4bd66449e8c5cc4dc588e5d9d3f5d8 (diff) |
soju: init at 0.1.2
Diffstat (limited to 'pkgs/applications/networking/soju')
-rw-r--r-- | pkgs/applications/networking/soju/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/networking/soju/default.nix b/pkgs/applications/networking/soju/default.nix new file mode 100644 index 0000000000000..5940b7cb19b4a --- /dev/null +++ b/pkgs/applications/networking/soju/default.nix @@ -0,0 +1,38 @@ +{ lib, buildGoModule, fetchFromSourcehut, installShellFiles, scdoc }: + +buildGoModule rec { + pname = "soju"; + version = "0.1.2"; + + src = fetchFromSourcehut { + owner = "~emersion"; + repo = "soju"; + rev = "v${version}"; + sha256 = "sha256-dauhGfwSjjRt1vl2+OPhtcme/QaRNTs43heQVnI7oRU="; + }; + + vendorSha256 = "sha256-0JLbqqybLZ/cYyHAyNR4liAVJI2oIsHELJLWlQy0qjE="; + + subPackages = [ + "cmd/soju" + "cmd/sojuctl" + "contrib/znc-import.go" + ]; + + nativeBuildInputs = [ + scdoc + installShellFiles + ]; + + postInstall = '' + scdoc < doc/soju.1.scd > doc/soju.1 + installManPage doc/soju.1 + ''; + + meta = with lib; { + description = "A user-friendly IRC bouncer"; + homepage = "https://soju.im"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ malvo ]; + }; +} |