2023-08-04 22:07:22 +00:00
|
|
|
{ callPackage, fetchurl, darwin }:
|
2022-04-15 01:41:22 +00:00
|
|
|
let
|
|
|
|
common = opts: callPackage (import ./common.nix opts) {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) PCSC;
|
|
|
|
};
|
|
|
|
in rec {
|
|
|
|
openconnect = common rec {
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "9.12";
|
2022-04-15 01:41:22 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.infradead.org/pub/openconnect/openconnect-${version}.tar.gz";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-or7c46pN/nXjbkB+SOjovJHUbe9TNayVZPv5G9SyQT4=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
2022-04-15 01:41:22 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
openconnect_openssl = openconnect.override {
|
|
|
|
useOpenSSL = true;
|
|
|
|
};
|
|
|
|
}
|