3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #15319 from romildo/upd.hexchat

hexchat: 2.10.2 -> 2.12.1
This commit is contained in:
Robin Gloster 2016-05-09 14:46:00 +02:00
commit aceecb82c8

View file

@ -1,25 +1,29 @@
{ stdenv, fetchurl, pkgconfig, gtk, perl, python, gettext
{ stdenv, fetchurl, pkgconfig, gtk, lua, perl, python
, libtool, pciutils, dbus_glib, libcanberra, libproxy
, libsexy, enchant, libnotify, openssl, intltool
, desktop_file_utils, hicolor_icon_theme
}:
stdenv.mkDerivation rec {
version = "2.10.2";
version = "2.12.1";
name = "hexchat-${version}";
src = fetchurl {
url = "http://dl.hexchat.net/hexchat/${name}.tar.xz";
sha256 = "0b5mw6jxa7c93nbgiwijm7j7klm6nccx6l9zyainyrbnqmjz7sw7";
sha256 = "0svwz9ldrry1sn35jywgpacjj1cf3xl3k74ynwn8rjvxs73b00aj";
};
buildInputs = [
pkgconfig gtk perl python gettext
libtool pciutils dbus_glib libcanberra libproxy
libsexy libnotify openssl intltool
desktop_file_utils hicolor_icon_theme
nativeBuildInputs = [
pkgconfig libtool intltool
];
buildInputs = [
gtk lua perl python pciutils dbus_glib libcanberra libproxy
libsexy libnotify openssl desktop_file_utils hicolor_icon_theme
];
enableParallelBuilding = true;
#hexchat and heachat-text loads enchant spell checking library at run time and so it needs to have route to the path
patchPhase = ''
sed -i "s,libenchant.so.1,${enchant}/lib/libenchant.so.1,g" src/fe-gtk/sexy-spell-entry.c