57 lines
857 B
Nix
57 lines
857 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, glib
|
|
, libgcrypt
|
|
, libintl
|
|
, libotr
|
|
, libtool
|
|
, meson
|
|
, ncurses
|
|
, ninja
|
|
, openssl
|
|
, perl
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "irssi";
|
|
version = "1.4.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "irssi";
|
|
repo = "irssi";
|
|
rev = version;
|
|
hash = "sha256-D+KMjkweStMqVhoQoiJPFt/G0vdf7x2FjYCvqGS8UqY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
libgcrypt
|
|
libintl
|
|
libotr
|
|
ncurses
|
|
openssl
|
|
perl
|
|
];
|
|
|
|
configureFlags = [
|
|
"-Dwith-proxy=yes"
|
|
"-Dwith-bot=yes"
|
|
"-Dwith-perl=yes"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Terminal based IRC client";
|
|
homepage = "https://irssi.org";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ fab lovek323 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|