git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #15319 from romildo/upd.hexchat
aceecb8Robin Gloster
pkgs/applications/networking/irc/hexchat/default.nix+11−7
@@ -1,25 +1,29 @@
1−{ stdenv, fetchurl, pkgconfig, gtk, perl, python, gettext
1+{ stdenv, fetchurl, pkgconfig, gtk, lua, perl, python
2, libtool, pciutils, dbus_glib, libcanberra, libproxy
2, libtool, pciutils, dbus_glib, libcanberra, libproxy
3, libsexy, enchant, libnotify, openssl, intltool
3, libsexy, enchant, libnotify, openssl, intltool
4, desktop_file_utils, hicolor_icon_theme
4, desktop_file_utils, hicolor_icon_theme
5}:
5}:
6
6
7stdenv.mkDerivation rec {
7stdenv.mkDerivation rec {
8− version = "2.10.2";
8+ version = "2.12.1";
9 name = "hexchat-${version}";
9 name = "hexchat-${version}";
10
10
11 src = fetchurl {
11 src = fetchurl {
12 url = "http://dl.hexchat.net/hexchat/${name}.tar.xz";
12 url = "http://dl.hexchat.net/hexchat/${name}.tar.xz";
13− sha256 = "0b5mw6jxa7c93nbgiwijm7j7klm6nccx6l9zyainyrbnqmjz7sw7";
13+ sha256 = "0svwz9ldrry1sn35jywgpacjj1cf3xl3k74ynwn8rjvxs73b00aj";
14 };
14 };
15
15
16+ nativeBuildInputs = [
17+ pkgconfig libtool intltool
18+ ];
19+
16 buildInputs = [
20 buildInputs = [
17− pkgconfig gtk perl python gettext
18− libtool pciutils dbus_glib libcanberra libproxy
21+ gtk lua perl python pciutils dbus_glib libcanberra libproxy
19− libsexy libnotify openssl intltool
20− desktop_file_utils hicolor_icon_theme
22+ libsexy libnotify openssl desktop_file_utils hicolor_icon_theme
21 ];
23 ];
22
24
25+ enableParallelBuilding = true;
26+
23 #hexchat and heachat-text loads enchant spell checking library at run time and so it needs to have route to the path
27 #hexchat and heachat-text loads enchant spell checking library at run time and so it needs to have route to the path
24 patchPhase = ''
28 patchPhase = ''
25 sed -i "s,libenchant.so.1,${enchant}/lib/libenchant.so.1,g" src/fe-gtk/sexy-spell-entry.c
29 sed -i "s,libenchant.so.1,${enchant}/lib/libenchant.so.1,g" src/fe-gtk/sexy-spell-entry.c