2021-03-17 10:35:55 +00:00
|
|
|
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, ncurses, glib, openssl, perl, libintl, libgcrypt, libotr }:
|
2007-08-05 18:22:12 +00:00
|
|
|
|
2009-04-23 10:11:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "irssi";
|
2019-08-29 20:00:18 +00:00
|
|
|
version = "1.2.2";
|
2015-05-24 22:12:16 +00:00
|
|
|
|
2007-08-05 18:22:12 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://github.com/irssi/irssi/releases/download/${version}/${pname}-${version}.tar.gz";
|
2019-08-29 20:00:18 +00:00
|
|
|
sha256 = "0g2nxazn4lszmd6mf1s36x5ablk4999g1qx7byrnvgnjsihjh62k";
|
2007-08-05 18:22:12 +00:00
|
|
|
};
|
2015-05-24 22:12:16 +00:00
|
|
|
|
2021-03-17 10:35:55 +00:00
|
|
|
# Fix irssi on GLib >2.62 input being stuck after entering a NUL byte
|
|
|
|
# See https://github.com/irssi/irssi/issues/1180 - remove after next update.
|
|
|
|
patches = fetchpatch {
|
|
|
|
url = "https://github.com/irssi/irssi/releases/download/1.2.2/glib-2-63.patch";
|
|
|
|
sha256 = "1ad1p7395n8dfmv97wrf751wwzgncqfh9fp27kq5kfdvh661da1i";
|
|
|
|
};
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-08-18 10:08:38 +00:00
|
|
|
buildInputs = [ ncurses glib openssl perl libintl libgcrypt libotr ];
|
2015-05-24 22:12:16 +00:00
|
|
|
|
2017-01-09 05:29:40 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-proxy"
|
|
|
|
"--with-bot"
|
|
|
|
"--with-perl=yes"
|
2019-08-18 10:08:38 +00:00
|
|
|
"--with-otr=yes"
|
2017-01-09 05:29:40 +00:00
|
|
|
"--enable-true-color"
|
|
|
|
];
|
2008-01-30 19:49:42 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://irssi.org";
|
2016-04-15 18:20:14 +00:00
|
|
|
description = "A terminal based IRC client";
|
2021-01-15 05:42:41 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ lovek323 ];
|
|
|
|
license = lib.licenses.gpl2Plus;
|
2008-01-30 19:49:42 +00:00
|
|
|
};
|
2007-08-05 18:22:12 +00:00
|
|
|
}
|