weechatScripts.colorize_nicks: init at 27

+31
+29
pkgs/applications/networking/irc/weechat/scripts/colorize_nicks/default.nix
···
··· 1 + { stdenv, lib, fetchurl, weechat }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "weechat-colorize_nicks"; 5 + version = "27"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/weechat/scripts/raw/bc8a9051800779a036ba11689a277cd5f03657b2/python/colorize_nicks.py"; 9 + sha256 = "0hiay88vvy171jiq6ahflm0ipb7sslfxwhmmm8psv6qk19rv2sxs"; 10 + }; 11 + 12 + dontUnpack = true; 13 + 14 + installPhase = '' 15 + mkdir -p $out/share 16 + cp $src $out/share/colorize_nicks.py 17 + ''; 18 + 19 + passthru = { 20 + scripts = [ "colorize_nicks.py" ]; 21 + }; 22 + 23 + meta = with lib; { 24 + inherit (weechat.meta) platforms; 25 + description = "Use the weechat nick colors in the chat area"; 26 + license = licenses.gpl2Plus; 27 + maintainers = with maintainers; [ qyliss ]; 28 + }; 29 + }
+2
pkgs/applications/networking/irc/weechat/scripts/default.nix
··· 1 { callPackage, luaPackages, python3Packages }: 2 3 { 4 weechat-matrix-bridge = callPackage ./weechat-matrix-bridge { 5 inherit (luaPackages) cjson luaffi; 6 };
··· 1 { callPackage, luaPackages, python3Packages }: 2 3 { 4 + colorize_nicks = callPackage ./colorize_nicks { }; 5 + 6 weechat-matrix-bridge = callPackage ./weechat-matrix-bridge { 7 inherit (luaPackages) cjson luaffi; 8 };