tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
weechatScripts.colorize_nicks: init at 27
Alyssa Ross
5 years ago
87ee41b7
de8b2891
+31
2 changed files
expand all
collapse all
unified
split
pkgs
applications
networking
irc
weechat
scripts
colorize_nicks
default.nix
default.nix
+29
pkgs/applications/networking/irc/weechat/scripts/colorize_nicks/default.nix
···
1
1
+
{ stdenv, lib, fetchurl, weechat }:
2
2
+
3
3
+
stdenv.mkDerivation {
4
4
+
pname = "weechat-colorize_nicks";
5
5
+
version = "27";
6
6
+
7
7
+
src = fetchurl {
8
8
+
url = "https://github.com/weechat/scripts/raw/bc8a9051800779a036ba11689a277cd5f03657b2/python/colorize_nicks.py";
9
9
+
sha256 = "0hiay88vvy171jiq6ahflm0ipb7sslfxwhmmm8psv6qk19rv2sxs";
10
10
+
};
11
11
+
12
12
+
dontUnpack = true;
13
13
+
14
14
+
installPhase = ''
15
15
+
mkdir -p $out/share
16
16
+
cp $src $out/share/colorize_nicks.py
17
17
+
'';
18
18
+
19
19
+
passthru = {
20
20
+
scripts = [ "colorize_nicks.py" ];
21
21
+
};
22
22
+
23
23
+
meta = with lib; {
24
24
+
inherit (weechat.meta) platforms;
25
25
+
description = "Use the weechat nick colors in the chat area";
26
26
+
license = licenses.gpl2Plus;
27
27
+
maintainers = with maintainers; [ qyliss ];
28
28
+
};
29
29
+
}
+2
pkgs/applications/networking/irc/weechat/scripts/default.nix
···
1
1
{ callPackage, luaPackages, python3Packages }:
2
2
3
3
{
4
4
+
colorize_nicks = callPackage ./colorize_nicks { };
5
5
+
4
6
weechat-matrix-bridge = callPackage ./weechat-matrix-bridge {
5
7
inherit (luaPackages) cjson luaffi;
6
8
};