3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/irc/hexchat/default.nix

42 lines
1.2 KiB
Nix
Raw Normal View History

2016-05-09 11:38:31 +01:00
{ stdenv, fetchurl, pkgconfig, gtk, lua, perl, python
2014-03-07 18:42:29 +00:00
, libtool, pciutils, dbus_glib, libcanberra, libproxy
2015-06-22 11:28:28 +01:00
, libsexy, enchant, libnotify, openssl, intltool
2014-03-07 18:42:29 +00:00
, desktop_file_utils, hicolor_icon_theme
}:
stdenv.mkDerivation rec {
2016-05-09 11:38:31 +01:00
version = "2.12.1";
2014-03-07 18:42:29 +00:00
name = "hexchat-${version}";
src = fetchurl {
url = "http://dl.hexchat.net/hexchat/${name}.tar.xz";
2016-05-09 11:38:31 +01:00
sha256 = "0svwz9ldrry1sn35jywgpacjj1cf3xl3k74ynwn8rjvxs73b00aj";
2014-03-07 18:42:29 +00:00
};
2016-05-09 11:38:31 +01:00
nativeBuildInputs = [
pkgconfig libtool intltool
];
2014-03-07 18:42:29 +00:00
buildInputs = [
2016-05-09 11:38:31 +01:00
gtk lua perl python pciutils dbus_glib libcanberra libproxy
libsexy libnotify openssl desktop_file_utils hicolor_icon_theme
2014-03-07 18:42:29 +00:00
];
2016-05-09 11:38:31 +01:00
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
'';
2014-03-07 18:42:29 +00:00
configureFlags = [ "--enable-shm" "--enable-textfe" ];
2015-06-22 07:25:07 +01:00
meta = with stdenv.lib; {
2014-03-07 18:42:29 +00:00
description = "A popular and easy to use graphical IRC (chat) client";
homepage = http://hexchat.github.io/;
2015-06-22 07:25:07 +01:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo jgeerds ];
2014-03-07 18:42:29 +00:00
};
}