gwenhywfar: Add OpenSSL and libgpgerror

OpenSSL is needed for gct-tool and libgpgerror for RSA key utilities
(src/crypt3/cryptkeyrsa.c).

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @goibhniu
This commit is contained in:
aszlig 2018-04-27 18:23:11 +02:00
parent 3dba79e689
commit f13873f35a
No known key found for this signature in database
GPG Key ID: 684089CE67EBB691

View File

@ -1,4 +1,8 @@
{ stdenv, fetchurl, gnutls, gtk2, gtk3, libgcrypt, pkgconfig, gettext, which, qt5
{ stdenv, fetchurl, gnutls, openssl, libgcrypt, libgpgerror, pkgconfig, gettext
, which
# GUI support
, gtk2, gtk3, qt5
, pluginSearchPaths ? [
"/run/current-system/sw/lib/gwenhywfar/plugins"
@ -21,6 +25,11 @@ in stdenv.mkDerivation rec {
inherit sha256;
};
configureFlags = [
"--with-openssl-includes=${openssl.dev}/include"
"--with-openssl-libs=${openssl.out}/lib"
];
preConfigure = ''
configureFlagsArray+=("--with-guis=gtk2 gtk3 qt5")
'';
@ -50,7 +59,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig gettext which ];
buildInputs = [ gtk2 gtk3 qt5.qtbase gnutls libgcrypt ];
buildInputs = [ gtk2 gtk3 qt5.qtbase gnutls openssl libgcrypt libgpgerror ];
meta = with stdenv.lib; {
description = "OS abstraction functions used by aqbanking and related tools";