Merge pull request #177772 from fabaff/irssi-bump

irssi: 1.2.3 -> 1.4.1
This commit is contained in:
Fabian Affolter 2022-07-05 08:06:14 +02:00 committed by GitHub
commit b695e7dd8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,40 +1,57 @@
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, ncurses, glib, openssl, perl, libintl, libgcrypt, libotr, git }:
{ lib
, stdenv
, fetchFromGitHub
, glib
, libgcrypt
, libintl
, libotr
, libtool
, meson
, ncurses
, ninja
, openssl
, perl
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "irssi";
version = "1.2.3";
version = "1.4.1";
src = fetchFromGitHub {
"owner" = "irssi";
"repo" = "irssi";
"rev" = "91dc3e4dfa1a9558c5a7fe0ea982cb9df0e2de65";
"sha256" = "efnE4vuDd7TnOBxMPduiV0/nez1jVhTjbJ0vzN4ZMcg=";
"leaveDotGit" = true;
owner = "irssi";
repo = "irssi";
rev = version;
hash = "sha256-HLcIhAZoJfCHoSNQCpoytBR0zmiZd919FcKWCl35G0A=";
};
nativeBuildInputs = [ pkg-config autoconf automake libtool git ];
buildInputs = [ ncurses glib openssl perl libintl libgcrypt libotr ];
enableParallelBuilding = true;
preConfigure = ''
NOCONFIGURE=1 ./autogen.sh
'';
configureFlags = [
"--with-proxy"
"--with-bot"
"--with-perl=yes"
"--with-otr=yes"
"--enable-true-color"
nativeBuildInputs = [
meson
ninja
pkg-config
];
meta = {
homepage = "https://irssi.org";
description = "A terminal based IRC client";
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ lovek323 ];
license = lib.licenses.gpl2Plus;
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;
};
}