hexchat: 2.14.3 -> 2.16.0
This commit is contained in:
parent
be5d1c3ca2
commit
f99f734f2b
1 changed files with 13 additions and 8 deletions
|
@ -1,25 +1,25 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, gtk2, lua, perl, python3
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, gtk2, lua, perl, python3Packages
|
||||||
, pciutils, dbus-glib, libcanberra-gtk2, libproxy
|
, pciutils, dbus-glib, libcanberra-gtk2, libproxy
|
||||||
, enchant2, libnotify, openssl, isocodes
|
, enchant2, libnotify, openssl, isocodes
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
, meson, ninja
|
, meson, ninja, makeWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hexchat";
|
pname = "hexchat";
|
||||||
version = "2.14.3";
|
version = "2.16.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hexchat";
|
owner = "hexchat";
|
||||||
repo = "hexchat";
|
repo = "hexchat";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "08kvp0dcn3bvmlqcfp9312075bwkqkpa8m7zybr88pfp210gfl85";
|
sha256 = "08zhlf9d3xdis62byxzgizhfg8kbppxl7cgxkzhwdc1srpj7vpx6";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
nativeBuildInputs = [ meson ninja pkg-config makeWrapper ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk2 lua perl python3 pciutils dbus-glib libcanberra-gtk2 libproxy
|
gtk2 lua perl python3Packages.python python3Packages.cffi pciutils dbus-glib libcanberra-gtk2 libproxy
|
||||||
libnotify openssl desktop-file-utils
|
libnotify openssl desktop-file-utils
|
||||||
isocodes
|
isocodes
|
||||||
];
|
];
|
||||||
|
@ -30,9 +30,10 @@ stdenv.mkDerivation rec {
|
||||||
sed -i "/flag.startswith('-I')/i if flag.contains('no-such-path')\ncontinue\nendif" plugins/perl/meson.build
|
sed -i "/flag.startswith('-I')/i if flag.contains('no-such-path')\ncontinue\nendif" plugins/perl/meson.build
|
||||||
chmod +x meson_post_install.py
|
chmod +x meson_post_install.py
|
||||||
for f in meson_post_install.py \
|
for f in meson_post_install.py \
|
||||||
src/common/make-te.py \
|
|
||||||
plugins/perl/generate_header.py \
|
plugins/perl/generate_header.py \
|
||||||
po/validate-textevent-translations
|
plugins/python/generate_plugin.py \
|
||||||
|
po/validate-textevent-translations \
|
||||||
|
src/common/make-te.py
|
||||||
do
|
do
|
||||||
patchShebangs $f
|
patchShebangs $f
|
||||||
done
|
done
|
||||||
|
@ -40,6 +41,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
mesonFlags = [ "-Dwith-lua=lua" "-Dwith-text=true" ];
|
mesonFlags = [ "-Dwith-lua=lua" "-Dwith-text=true" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/hexchat --prefix PYTHONPATH : "$PYTHONPATH"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A popular and easy to use graphical IRC (chat) client";
|
description = "A popular and easy to use graphical IRC (chat) client";
|
||||||
homepage = "https://hexchat.github.io/";
|
homepage = "https://hexchat.github.io/";
|
||||||
|
|
Loading…
Reference in a new issue