openconnect: 7.08 -> 8.02

This commit is contained in:
Will Dietz 2019-01-16 08:58:56 -06:00
parent ed63bd949d
commit 1610427425

View file

@ -3,23 +3,18 @@
assert (openssl != null) == (gnutls == null);
stdenv.mkDerivation rec {
name = "openconnect-7.08";
pname = "openconnect";
version = "8.02";
src = fetchurl {
urls = [
"ftp://ftp.infradead.org/pub/openconnect/${name}.tar.gz"
"ftp://ftp.infradead.org/pub/openconnect/${pname}-${version}.tar.gz"
];
sha256 = "00wacb79l2c45f94gxs63b9z25wlciarasvjrb8jb8566wgyqi0w";
sha256 = "04p0vzc1791h68hd9803wsyb64zrwm8qpdqx0szhj9pig71g5a0w";
};
outputs = [ "out" "dev" ];
preConfigure = ''
export PKG_CONFIG=${pkgconfig}/bin/pkg-config
export LIBXML2_CFLAGS="-I ${libxml2.dev}/include/libxml2"
export LIBXML2_LIBS="-L${libxml2.out}/lib -lxml2"
'';
configureFlags = [
"--with-vpnc-script=${vpnc}/etc/vpnc/vpnc-script"
"--disable-nls"