3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #78626 from alexbakker/hexchat-2.14.3

hexchat: 2.14.2 -> 2.14.3
This commit is contained in:
Mario Rodas 2020-01-29 02:37:09 -05:00 committed by GitHub
commit 13f5118d42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "hexchat";
version = "2.14.2";
version = "2.14.3";
src = fetchFromGitHub {
owner = "hexchat";
repo = "hexchat";
rev = "v${version}";
sha256 = "1kz81xfis0bw2cfd6ndw32jdzdl5azk9ixqj4a3lginmlj6fs45a";
sha256 = "08kvp0dcn3bvmlqcfp9312075bwkqkpa8m7zybr88pfp210gfl85";
};
nativeBuildInputs = [ meson ninja pkgconfig ];
@ -24,14 +24,6 @@ stdenv.mkDerivation rec {
isocodes
];
patches = [
#https://github.com/hexchat/hexchat/issues/2237
(fetchpatch {
url = "https://src.fedoraproject.org/rpms/hexchat/raw/8a08a0c8a8da503b18f2fbb15194c5f3728a689a/f/0001-Python-plugin-Call-EndInterpreter-when-deinit-ing-th.patch";
sha256 = "1199dj3wvjqj6h5vlm7lzhaax84j9ki6an8y8fs4rww27iq0lk8g";
})
];
#hexchat and hexchat-text loads enchant spell checking library at run time and so it needs to have route to the path
postPatch = ''
sed -i "s,libenchant-2.so.2,${enchant2}/lib/libenchant-2.so.2,g" src/fe-gtk/sexy-spell-entry.c