2023-07-25 15:36:57 +00:00
|
|
|
{ callPackage, fetchurl, darwin }:
|
2022-03-26 14:00:36 +00:00
|
|
|
let
|
|
|
|
common = opts: callPackage (import ./common.nix opts) {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) PCSC;
|
|
|
|
};
|
|
|
|
in rec {
|
|
|
|
openconnect = common rec {
|
2023-05-22 18:39:51 +00:00
|
|
|
version = "9.12";
|
2022-03-26 14:00:36 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.infradead.org/pub/openconnect/openconnect-${version}.tar.gz";
|
2023-05-22 18:39:51 +00:00
|
|
|
sha256 = "sha256-or7c46pN/nXjbkB+SOjovJHUbe9TNayVZPv5G9SyQT4=";
|
2022-03-26 14:00:36 +00:00
|
|
|
};
|
|
|
|
};
|
2021-05-06 21:47:26 +00:00
|
|
|
|
2022-03-26 14:00:36 +00:00
|
|
|
openconnect_openssl = openconnect.override {
|
|
|
|
useOpenSSL = true;
|
|
|
|
};
|
|
|
|
}
|