mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
19 lines
476 B
Nix
19 lines
476 B
Nix
{ callPackage, 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;
|
|
};
|
|
}
|