nixpkgs-suyu/pkgs/tools/networking/ocserv/default.nix

27 lines
885 B
Nix
Raw Normal View History

2021-01-17 04:51:22 +01:00
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, nettle, gnutls
, libev, protobufc, guile, geoip, libseccomp, gperf, readline
, lz4, libgssglue, ronn, pam
}:
stdenv.mkDerivation rec {
pname = "ocserv";
2020-01-07 06:12:15 +01:00
version = "0.12.6";
src = fetchFromGitLab {
owner = "openconnect";
repo = "ocserv";
2021-01-15 10:19:50 +01:00
rev = "ocserv_${lib.replaceStrings [ "." ] [ "_" ] version}";
2020-01-07 06:12:15 +01:00
sha256 = "0k7sx9sg8akxwfdl51cvdqkdrx9qganqddgri2yhcgznc3f3pz5b";
};
2021-01-17 04:51:22 +01:00
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; [ ];
};
}