mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
32 lines
791 B
Nix
32 lines
791 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 = "8.20";
|
|
src = fetchurl {
|
|
url = "ftp://ftp.infradead.org/pub/openconnect/openconnect-${version}.tar.gz";
|
|
sha256 = "sha256-wUUjhMb3lrruRdTpGa4b/CgdbIiGLh9kaizFE/xE5Ys=";
|
|
};
|
|
};
|
|
|
|
openconnect_unstable = common {
|
|
version = "unstable-2022-03-14";
|
|
src = fetchFromGitLab {
|
|
owner = "openconnect";
|
|
repo = "openconnect";
|
|
rev = "a27a46f1362978db9723c8730f2533516b4b31b1";
|
|
sha256 = "sha256-Kz98GHCyEcx7vUF+AXMLR7886+iKGKNwx1iRaYcH8ps=";
|
|
};
|
|
};
|
|
|
|
openconnect_openssl = openconnect.override {
|
|
useOpenSSL = true;
|
|
};
|
|
}
|
|
|
|
|
|
|