diff options
author | Gauvain 'GovanifY' Roussel-Tarbouriech <gauvain@govanify.com> | 2021-07-06 17:13:34 +0200 |
---|---|---|
committer | Gauvain 'GovanifY' Roussel-Tarbouriech <gauvain@govanify.com> | 2021-07-06 17:13:34 +0200 |
commit | e009ef23ae68290565ea28d5fd9e33bdbdbb4f19 (patch) | |
tree | 4fa4ee140bd4d1ebafac8e4c71e7c75978df8399 /pkgs/applications/networking/irc | |
parent | 378986286f572c703c8ba970e2b1d9e32f5dfa81 (diff) |
weechatScripts.highmon: init at 2.7
Diffstat (limited to 'pkgs/applications/networking/irc')
-rw-r--r-- | pkgs/applications/networking/irc/weechat/scripts/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/networking/irc/weechat/scripts/highmon/default.nix | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/networking/irc/weechat/scripts/default.nix b/pkgs/applications/networking/irc/weechat/scripts/default.nix index ea665160f605e..4b5d9e83334d6 100644 --- a/pkgs/applications/networking/irc/weechat/scripts/default.nix +++ b/pkgs/applications/networking/irc/weechat/scripts/default.nix @@ -24,4 +24,6 @@ weechat-go = callPackage ./weechat-go { }; buffer_autoset = callPackage ./buffer_autoset { }; + + highmon = callPackage ./highmon { }; } diff --git a/pkgs/applications/networking/irc/weechat/scripts/highmon/default.nix b/pkgs/applications/networking/irc/weechat/scripts/highmon/default.nix new file mode 100644 index 0000000000000..f653224657071 --- /dev/null +++ b/pkgs/applications/networking/irc/weechat/scripts/highmon/default.nix @@ -0,0 +1,31 @@ +{ 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 = "highmon.pl is a weechat script that adds 'Highlight Monitor'."; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ govanify ]; + }; +} |