Merge remote-tracking branch 'origin/master' into staging-next
Conflicts: pkgs/tools/networking/xh/default.nix
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, vpnc, openssl ? null, gnutls ? null, gmp, libxml2, stoken, zlib, autoreconfHook } :
|
||||
|
||||
assert (openssl != null) == (gnutls == null);
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "unstable-2018-10-08";
|
||||
pname = "openconnect_pa";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dlenski";
|
||||
repo = "openconnect";
|
||||
rev = "e5fe063a087385c5b157ad7a9a3fa874181f6e3b";
|
||||
sha256 = "0ywacqs3nncr2gpjjcz2yc9c6v4ifjssh0vb07h0qff06whqhdax";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
export PKG_CONFIG=${pkg-config}/bin/${pkg-config.targetPrefix}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"
|
||||
"--without-openssl-version-check"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
propagatedBuildInputs = [ vpnc openssl gnutls gmp libxml2 stoken zlib ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenConnect client extended to support Palo Alto Networks' GlobalProtect VPN";
|
||||
homepage = "https://github.com/dlenski/openconnect/";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ chessai ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -3,16 +3,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "xh";
|
||||
version = "0.9.2";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ducaale";
|
||||
repo = "xh";
|
||||
rev = "v${version}";
|
||||
sha256 = "cOlya3ngIoaoqzh0fIbNAjwO7S7wZCQk7WVqgZona8A=";
|
||||
sha256 = "sha256-eOP9sc1qmQuc3HecNNZDMarVkXmEfGZkan0H9598LC0=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-jjC7G4JsLyj5LC29DBI996E+Ha/tVrcv7A95MmB7A08=";
|
||||
cargoSha256 = "sha256-JXywHuZPQVhuWBVUNi9k8TwgE8KCNDtucjxxDi6unVM=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user