2019-08-18 11:08:38 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, ncurses, glib, openssl, perl, libintl, libgcrypt, libotr }:
|
2007-08-05 19:22:12 +01:00
|
|
|
|
2009-04-23 11:11:02 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-06-30 23:43:02 +01:00
|
|
|
version = "1.2.1";
|
2016-04-02 22:26:10 +01:00
|
|
|
name = "irssi-${version}";
|
2015-05-24 23:12:16 +01:00
|
|
|
|
2007-08-05 19:22:12 +01:00
|
|
|
src = fetchurl {
|
2017-01-09 05:29:40 +00:00
|
|
|
url = "https://github.com/irssi/irssi/releases/download/${version}/${name}.tar.gz";
|
2019-06-30 23:43:02 +01:00
|
|
|
sha256 = "01lay6bxgsk2vzkiknw12zr8gvgnvk9xwg992496knsgakr0x2zx";
|
2007-08-05 19:22:12 +01:00
|
|
|
};
|
2015-05-24 23:12:16 +01:00
|
|
|
|
2017-01-09 05:29:40 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-08-18 11:08:38 +01:00
|
|
|
buildInputs = [ ncurses glib openssl perl libintl libgcrypt libotr ];
|
2015-05-24 23:12:16 +01:00
|
|
|
|
2017-01-09 05:29:40 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-proxy"
|
|
|
|
"--with-bot"
|
|
|
|
"--with-perl=yes"
|
2019-08-18 11:08:38 +01:00
|
|
|
"--with-otr=yes"
|
2017-01-09 05:29:40 +00:00
|
|
|
"--enable-true-color"
|
|
|
|
];
|
2008-01-30 19:49:42 +00:00
|
|
|
|
|
|
|
meta = {
|
2018-05-01 04:03:23 +01:00
|
|
|
homepage = https://irssi.org;
|
2016-04-15 19:20:14 +01:00
|
|
|
description = "A terminal based IRC client";
|
2013-06-20 00:25:54 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
|
2018-08-06 12:06:06 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2008-01-30 19:49:42 +00:00
|
|
|
};
|
2007-08-05 19:22:12 +01:00
|
|
|
}
|