nixpkgs/pkgs/applications/networking/irc/irssi/default.nix
2019-01-12 12:52:16 +01:00

30 lines
794 B
Nix

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