forked from mirrors/nixpkgs
31 lines
841 B
Nix
31 lines
841 B
Nix
{ lib, stdenv, fetchurl, pkg-config, ncurses, glib, openssl, perl, libintl, libgcrypt, libotr }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "irssi";
|
|
version = "1.2.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/irssi/irssi/releases/download/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "0g2nxazn4lszmd6mf1s36x5ablk4999g1qx7byrnvgnjsihjh62k";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ ncurses glib openssl perl libintl libgcrypt libotr ];
|
|
|
|
configureFlags = [
|
|
"--with-proxy"
|
|
"--with-bot"
|
|
"--with-perl=yes"
|
|
"--with-otr=yes"
|
|
"--enable-true-color"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://irssi.org";
|
|
description = "A terminal based IRC client";
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ lovek323 ];
|
|
license = lib.licenses.gpl2Plus;
|
|
};
|
|
}
|