nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitLab, autoreconfHook, pkgconfig, nettle, gnutls
2, libev, protobufc, guile, geoip, libseccomp, gperf, readline
3, lz4, libgssglue, ronn, pam
4}:
5
6stdenv.mkDerivation rec {
7 pname = "ocserv";
8 version = "0.12.6";
9
10 src = fetchFromGitLab {
11 owner = "openconnect";
12 repo = "ocserv";
13 rev = "ocserv_${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}";
14 sha256 = "0k7sx9sg8akxwfdl51cvdqkdrx9qganqddgri2yhcgznc3f3pz5b";
15 };
16
17 nativeBuildInputs = [ autoreconfHook pkgconfig ];
18 buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp gperf readline lz4 libgssglue ronn pam ];
19
20 meta = with stdenv.lib; {
21 homepage = https://gitlab.com/openconnect/ocserv;
22 license = licenses.gpl2;
23 description = "This program is openconnect VPN server (ocserv), a server for the openconnect VPN client.";
24 maintainers = with maintainers; [ ];
25 };
26}