mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
27 lines
855 B
Nix
27 lines
855 B
Nix
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, nettle, gnutls
|
|
, libev, protobufc, guile, geoip, libseccomp, gperf, readline
|
|
, lz4, libgssglue, ronn, pam, libxcrypt
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocserv";
|
|
version = "1.2.4";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "openconnect";
|
|
repo = "ocserv";
|
|
rev = version;
|
|
hash = "sha256-IYiYC9oAw35YjpptUEnhuZQqoDevku25r7qi6SG8xtk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook gperf pkg-config ronn ];
|
|
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp readline lz4 libgssglue pam libxcrypt ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.com/openconnect/ocserv";
|
|
license = licenses.gpl2Plus;
|
|
description = "OpenConnect VPN server (ocserv), a server for the OpenConnect VPN client";
|
|
maintainers = with maintainers; [ neverbehave ];
|
|
};
|
|
}
|