mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
hexchat: 2.12.3 -> 2.12.4
- Update hexchat to version 2.12.4 - Use sources from github, as the source at http://dl.hexchat.net/hexchat/hexchat-2.12.4.tar.xz contains invalid symbolic links in the directory 'build-aux' - Run 'autogen.sh' to generate 'configure' and friends, as they are not available in the distributed sources from github.
This commit is contained in:
parent
1853f174d1
commit
fee579701d
@ -1,20 +1,24 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gtk2, lua, perl, python
|
{ stdenv, fetchFromGitHub, pkgconfig, gtk2, lua, perl, python
|
||||||
, libtool, pciutils, dbus_glib, libcanberra_gtk2, libproxy
|
, libtool, pciutils, dbus_glib, libcanberra_gtk2, libproxy
|
||||||
, libsexy, enchant, libnotify, openssl, intltool
|
, libsexy, enchant, libnotify, openssl, intltool
|
||||||
, desktop_file_utils, hicolor_icon_theme
|
, desktop_file_utils, hicolor_icon_theme
|
||||||
|
, autoconf, automake, autoconf-archive
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.12.3";
|
version = "2.12.4";
|
||||||
name = "hexchat-${version}";
|
name = "hexchat-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://dl.hexchat.net/hexchat/${name}.tar.xz";
|
owner = "hexchat";
|
||||||
sha256 = "1fpj2kk1p85snffchqxsz3sphhcgiripjw41mgzxi7ks5hvj4avg";
|
repo = "hexchat";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1z8v7jg1mc2277k3jihnq4rixw1q27305aw6b6rpb1x7vpiy2zr3";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig libtool intltool
|
pkgconfig libtool intltool
|
||||||
|
autoconf autoconf-archive automake
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -24,11 +28,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
#hexchat and heachat-text loads enchant spell checking library at run time and so it needs to have route to the path
|
#hexchat and heachat-text loads enchant spell checking library at run time and so it needs to have route to the path
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i "s,libenchant.so.1,${enchant}/lib/libenchant.so.1,g" src/fe-gtk/sexy-spell-entry.c
|
sed -i "s,libenchant.so.1,${enchant}/lib/libenchant.so.1,g" src/fe-gtk/sexy-spell-entry.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
./autogen.sh
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--enable-shm" "--enable-textfe" ];
|
configureFlags = [ "--enable-shm" "--enable-textfe" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user