pidgin: bring back text-mode UI
It disappeared in the parent commit.
This commit is contained in:
parent
8b0b6e43c6
commit
7997c258db
|
@ -2,8 +2,9 @@
|
||||||
, gtkspell2, aspell
|
, gtkspell2, aspell
|
||||||
, gst_all_1, startupnotification, gettext
|
, gst_all_1, startupnotification, gettext
|
||||||
, perlPackages, libxml2, nss, nspr, farstream
|
, perlPackages, libxml2, nss, nspr, farstream
|
||||||
, libXScrnSaver, ncurses, avahi, dbus, dbus-glib, intltool, libidn
|
, libXScrnSaver, avahi, dbus, dbus-glib, intltool, libidn
|
||||||
, lib, python3, libICE, libXext, libSM
|
, lib, python3, libICE, libXext, libSM
|
||||||
|
, libgnt, ncurses
|
||||||
, cyrus_sasl ? null
|
, cyrus_sasl ? null
|
||||||
, openssl ? null
|
, openssl ? null
|
||||||
, gnutls ? null
|
, gnutls ? null
|
||||||
|
@ -23,8 +24,6 @@ let unwrapped = stdenv.mkDerivation rec {
|
||||||
sha256 = "bb45f7c032f9efd6922a5dbf2840995775e5584771b23992d04f6eff7dff5336";
|
sha256 = "bb45f7c032f9efd6922a5dbf2840995775e5584771b23992d04f6eff7dff5336";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit nss ncurses;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
|
NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
|
||||||
|
@ -35,9 +34,10 @@ let unwrapped = stdenv.mkDerivation rec {
|
||||||
aspell startupnotification
|
aspell startupnotification
|
||||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
||||||
libxml2 nss nspr
|
libxml2 nss nspr
|
||||||
libXScrnSaver ncurses python-with-dbus
|
libXScrnSaver python-with-dbus
|
||||||
avahi dbus dbus-glib intltool libidn
|
avahi dbus dbus-glib intltool libidn
|
||||||
libICE libXext libSM cyrus_sasl
|
libICE libXext libSM cyrus_sasl
|
||||||
|
libgnt ncurses # optional: build finch - the console UI
|
||||||
]
|
]
|
||||||
++ (lib.optional (openssl != null) openssl)
|
++ (lib.optional (openssl != null) openssl)
|
||||||
++ (lib.optional (gnutls != null) gnutls)
|
++ (lib.optional (gnutls != null) gnutls)
|
||||||
|
|
37
pkgs/development/libraries/libgnt/default.nix
Normal file
37
pkgs/development/libraries/libgnt/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ stdenv, lib, fetchurl, meson, ninja, pkg-config
|
||||||
|
, gtk-doc, docbook-xsl-nons
|
||||||
|
, glib, ncurses, libxml2
|
||||||
|
, buildDocs ? true
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "libgnt";
|
||||||
|
version = "2.14.1";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ] ++ lib.optional buildDocs "devdoc";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/pidgin/${pname}-${version}.tar.xz";
|
||||||
|
sha256 = "1n2bxg0ignn53c08cp69pj4sdg53kwlqn23rincyjmpr327fdhsy";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ meson ninja pkg-config ]
|
||||||
|
++ lib.optionals buildDocs [ gtk-doc docbook-xsl-nons ];
|
||||||
|
|
||||||
|
buildInputs = [ glib ncurses libxml2 ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace meson.build --replace \
|
||||||
|
"ncurses_sys_prefix = '/usr'" \
|
||||||
|
"ncurses_sys_prefix = '${lib.getDev ncurses}'"
|
||||||
|
'' + lib.optionalString (!buildDocs) ''
|
||||||
|
sed "/^subdir('doc')$/d" -i meson.build
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "An ncurses toolkit for creating text-mode graphical user interfaces";
|
||||||
|
homepage = "https://keep.imfreedom.org/libgnt/libgnt/";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with lib.maintainers; [ ony ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -16474,6 +16474,8 @@ in
|
||||||
|
|
||||||
libgksu = callPackage ../development/libraries/libgksu { };
|
libgksu = callPackage ../development/libraries/libgksu { };
|
||||||
|
|
||||||
|
libgnt = callPackage ../development/libraries/libgnt { };
|
||||||
|
|
||||||
libgpgerror = callPackage ../development/libraries/libgpg-error { };
|
libgpgerror = callPackage ../development/libraries/libgpg-error { };
|
||||||
|
|
||||||
# https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=blob;f=README;h=fd6e1a83f55696c1f7a08f6dfca08b2d6b7617ec;hb=70058cd9f944d620764e57c838209afae8a58c78#l118
|
# https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=blob;f=README;h=fd6e1a83f55696c1f7a08f6dfca08b2d6b7617ec;hb=70058cd9f944d620764e57c838209afae8a58c78#l118
|
||||||
|
|
Loading…
Reference in a new issue