nixpkgs/pkgs/applications/networking/irc/irssi/default.nix
2022-10-31 18:59:22 +00:00

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.3";
src = fetchFromGitHub {
owner = "irssi";
repo = "irssi";
rev = version;
hash = "sha256-wRJp4KfI+2IAJ70XW7+0LR83cRvS/SGq7CpDVuc636Q=";
};
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;
};
}