depot/third_party/nixpkgs/pkgs/tools/networking/openconnect/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

18 lines
493 B
Nix

{ callPackage, fetchFromGitLab, fetchurl, darwin }:
let
common = opts: callPackage (import ./common.nix opts) {
inherit (darwin.apple_sdk.frameworks) PCSC;
};
in rec {
openconnect = common rec {
version = "9.12";
src = fetchurl {
url = "ftp://ftp.infradead.org/pub/openconnect/openconnect-${version}.tar.gz";
sha256 = "sha256-or7c46pN/nXjbkB+SOjovJHUbe9TNayVZPv5G9SyQT4=";
};
};
openconnect_openssl = openconnect.override {
useOpenSSL = true;
};
}