2022-03-26 14:00:36 +00:00
|
|
|
{ callPackage, fetchFromGitLab, fetchurl, darwin }:
|
|
|
|
let
|
|
|
|
common = opts: callPackage (import ./common.nix opts) {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) PCSC;
|
|
|
|
};
|
|
|
|
in rec {
|
|
|
|
openconnect = common rec {
|
2022-07-02 04:19:13 +00:00
|
|
|
version = "9.01";
|
2022-03-26 14:00:36 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.infradead.org/pub/openconnect/openconnect-${version}.tar.gz";
|
2022-07-02 04:19:13 +00:00
|
|
|
sha256 = "sha256-s9f6+DDpeTKZ1qQegdhM1KPieJwUjJ5ZjkWFAQCQ5Mc=";
|
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_unstable = common {
|
|
|
|
version = "unstable-2022-03-14";
|
|
|
|
src = fetchFromGitLab {
|
2021-05-06 21:47:26 +00:00
|
|
|
owner = "openconnect";
|
|
|
|
repo = "openconnect";
|
2022-03-26 14:00:36 +00:00
|
|
|
rev = "a27a46f1362978db9723c8730f2533516b4b31b1";
|
|
|
|
sha256 = "sha256-Kz98GHCyEcx7vUF+AXMLR7886+iKGKNwx1iRaYcH8ps=";
|
2021-05-06 21:47:26 +00:00
|
|
|
};
|
2022-03-26 14:00:36 +00:00
|
|
|
};
|
2013-05-31 18:19:56 +00:00
|
|
|
|
2022-03-26 14:00:36 +00:00
|
|
|
openconnect_openssl = openconnect.override {
|
|
|
|
useOpenSSL = true;
|
|
|
|
};
|
|
|
|
}
|
2021-01-15 09:19:50 +00:00
|
|
|
|
2013-05-31 18:19:56 +00:00
|
|
|
|
2016-08-02 16:06:29 +00:00
|
|
|
|