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
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
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
{
0
0
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
};