mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
soju: init at 0.1.2
This commit is contained in:
parent
c96586d63f
commit
cf5e5fe76d
38
pkgs/applications/networking/soju/default.nix
Normal file
38
pkgs/applications/networking/soju/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -3067,6 +3067,8 @@ in
|
||||
|
||||
socklog = callPackage ../tools/system/socklog { };
|
||||
|
||||
soju = callPackage ../applications/networking/soju { };
|
||||
|
||||
spacevim = callPackage ../applications/editors/spacevim { };
|
||||
|
||||
ssmsh = callPackage ../tools/admin/ssmsh { };
|
||||
|
Loading…
Reference in New Issue
Block a user