nixpkgs/pkgs/applications/networking/irc/senpai/default.nix
toastal 05b3fb643f senpai: unstable-2023-01-03 → unstable-2023-02-13
Checking the log @ https://git.sr.ht/~taiite/senpai/log there’s been a
number of minor, but notable fixes, including spamming reconnect
messages.
2023-02-16 20:35:30 +07:00

38 lines
867 B
Nix

{ lib, buildGoModule, fetchFromSourcehut, installShellFiles, scdoc }:
buildGoModule rec {
pname = "senpai";
version = "unstable-2023-02-13";
src = fetchFromSourcehut {
owner = "~taiite";
repo = "senpai";
rev = "1318e784bd2bba3765aee97811a3f0053d3a6723";
sha256 = "sha256-q167og8S8YbLcREZ7DVbJhjMzx4iO0WgIFkOV2IpieM=";
};
vendorSha256 = "sha256-PkoEHQEGKCiNbJsm7ieL65MtEult/wubLreJKA1gGpg=";
subPackages = [
"cmd/senpai"
];
nativeBuildInputs = [
scdoc
installShellFiles
];
postInstall = ''
scdoc < doc/senpai.1.scd > doc/senpai.1
scdoc < doc/senpai.5.scd > doc/senpai.5
installManPage doc/senpai.*
'';
meta = with lib; {
description = "Your everyday IRC student";
homepage = "https://ellidri.org/senpai";
license = licenses.isc;
maintainers = with maintainers; [ malte-v ];
};
}