git.iko.soy/typeable/nixpkgs
on master help sign in
weechatScripts.highmon: init at 2.7
commite009ef23ae68290565ea28d5fd9e33bdbdbb4f19 authorGauvain 'GovanifY' Roussel-Tarbouriech <gauvain@govanify.com> dateTue 6 Jul 2021, 17:13 (5 years ago) parent3789862
2 files changed+33
pkgs/applications/networking/irc/weechat/scripts/default.nix+2 pkgs/applications/networking/irc/weechat/scripts/highmon/default.nix+31
pkgs/applications/networking/irc/weechat/scripts/default.nix+2
@@ -24,4 +24,6 @@
2424 weechat-go = callPackage ./weechat-go { };
2525
2626 buffer_autoset = callPackage ./buffer_autoset { };
27+
28+ highmon = callPackage ./highmon { };
2729}
pkgs/applications/networking/irc/weechat/scripts/highmon/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ lib, stdenv, fetchurl, weechat }:
2+
3+stdenv.mkDerivation {
4+ pname = "highmon";
5+ version = "2.7";
6+
7+ src = fetchurl {
8+ url = "https://raw.githubusercontent.com/KenjiE20/highmon/182e67d070c75efc81999e68c2ac7fdfe44d2872/highmon.pl";
9+ sha256 = "1vvgzscb12l3cp2nq954fx6j3awvpjsb0nqylal51ps9cq9a3wir";
10+ };
11+
12+ dontUnpack = true;
13+
14+ passthru.scripts = [ "highmon.pl" ];
15+
16+ installPhase = ''
17+ runHook preInstall
18+
19+ install -D $src $out/share/highmon.pl
20+
21+ runHook postInstall
22+ '';
23+
24+ meta = with lib; {
25+ inherit (weechat.meta) platforms;
26+ homepage = "https://github.com/KenjiE20/highmon/";
27+ description = "highmon.pl is a weechat script that adds 'Highlight Monitor'.";
28+ license = licenses.gpl3Plus;
29+ maintainers = with maintainers; [ govanify ];
30+ };
31+}