3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/ocserv/default.nix
R. RyanTM 842c4fbcde
ocserv: 1.1.2 -> 1.1.5
* ocserv: 1.1.2 -> 1.1.4 (#149750)

* ocserv: 1.1.4 -> 1.1.5

Move ronn and gperf to native (only used at build time)
And use SPDX 3.0 license identifier

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
2022-02-11 16:39:33 +01:00

27 lines
836 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 = "1.1.5";
src = fetchFromGitLab {
owner = "openconnect";
repo = "ocserv";
rev = version;
sha256 = "sha256-mb1xmv2jM8XpKiUX/IlVctKUimMeF1oMDnT6YMZ0nCY=";
};
nativeBuildInputs = [ autoreconfHook gperf pkg-config ronn ];
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp readline lz4 libgssglue pam ];
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 ];
};
}