nixpkgs/pkgs/applications/networking/irc/irssi/default.nix

58 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.4";
src = fetchFromGitHub {
owner = "irssi";
repo = "irssi";
rev = version;
hash = "sha256-a/+9M2zoywZBdOfXHrA4O6Q9W7HJZNTthB/aseUNefA=";
};
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;
};
}