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

29 lines
759 B
Nix

{ stdenv, fetchurl, pkgconfig, ncurses, glib, openssl, perl, libintlOrEmpty }:
stdenv.mkDerivation rec {
version = "1.0.6";
name = "irssi-${version}";
src = fetchurl {
url = "https://github.com/irssi/irssi/releases/download/${version}/${name}.tar.gz";
sha256 = "0iiz0x698bdlpssbj357ln5f7ccjwc1m1550xzy1g7kwcvdpp4mb";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses glib openssl perl libintlOrEmpty ];
configureFlags = [
"--with-proxy"
"--with-bot"
"--with-perl=yes"
"--enable-true-color"
];
meta = {
homepage = http://irssi.org;
description = "A terminal based IRC client";
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
};
}