mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 22:45:08 +00:00
05b3fb643f
Checking the log @ https://git.sr.ht/~taiite/senpai/log there’s been a number of minor, but notable fixes, including spamming reconnect messages.
38 lines
867 B
Nix
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 ];
|
|
};
|
|
}
|