Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 36 lines 769 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 weechat, 6}: 7 8stdenv.mkDerivation { 9 pname = "highmon"; 10 version = "2.7"; 11 12 src = fetchurl { 13 url = "https://raw.githubusercontent.com/KenjiE20/highmon/182e67d070c75efc81999e68c2ac7fdfe44d2872/highmon.pl"; 14 sha256 = "1vvgzscb12l3cp2nq954fx6j3awvpjsb0nqylal51ps9cq9a3wir"; 15 }; 16 17 dontUnpack = true; 18 19 passthru.scripts = [ "highmon.pl" ]; 20 21 installPhase = '' 22 runHook preInstall 23 24 install -D $src $out/share/highmon.pl 25 26 runHook postInstall 27 ''; 28 29 meta = with lib; { 30 inherit (weechat.meta) platforms; 31 homepage = "https://github.com/KenjiE20/highmon/"; 32 description = "WeeChat script that adds 'Highlight Monitor'"; 33 license = licenses.gpl3Plus; 34 maintainers = with maintainers; [ govanify ]; 35 }; 36}