Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
769 B
Nix
37 lines
769 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
weechat,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "highmon";
|
|
version = "2.7";
|
|
|
|
src = fetchurl {
|
|
url = "https://raw.githubusercontent.com/KenjiE20/highmon/182e67d070c75efc81999e68c2ac7fdfe44d2872/highmon.pl";
|
|
sha256 = "1vvgzscb12l3cp2nq954fx6j3awvpjsb0nqylal51ps9cq9a3wir";
|
|
};
|
|
|
|
dontUnpack = true;
|
|
|
|
passthru.scripts = [ "highmon.pl" ];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -D $src $out/share/highmon.pl
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
inherit (weechat.meta) platforms;
|
|
homepage = "https://github.com/KenjiE20/highmon/";
|
|
description = "WeeChat script that adds 'Highlight Monitor'";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ govanify ];
|
|
};
|
|
}
|