mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +00:00
27 lines
885 B
Nix
27 lines
885 B
Nix
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, nettle, gnutls
|
|
, libev, protobufc, guile, geoip, libseccomp, gperf, readline
|
|
, lz4, libgssglue, ronn, pam
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocserv";
|
|
version = "0.12.6";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "openconnect";
|
|
repo = "ocserv";
|
|
rev = "ocserv_${lib.replaceStrings [ "." ] [ "_" ] version}";
|
|
sha256 = "0k7sx9sg8akxwfdl51cvdqkdrx9qganqddgri2yhcgznc3f3pz5b";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp gperf readline lz4 libgssglue ronn pam ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.com/openconnect/ocserv";
|
|
license = licenses.gpl2;
|
|
description = "This program is openconnect VPN server (ocserv), a server for the openconnect VPN client";
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|