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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
857 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, nettle, gnutls
, libev, protobufc, guile, geoip, libseccomp, gperf, readline
2022-10-03 15:26:05 +00:00
, lz4, libgssglue, ronn, pam, libxcrypt
}:
stdenv.mkDerivation rec {
pname = "ocserv";
2022-02-22 03:48:38 +00:00
version = "1.1.6";
src = fetchFromGitLab {
owner = "openconnect";
repo = "ocserv";
2021-10-27 03:57:16 +00:00
rev = version;
2022-02-22 03:48:38 +00:00
sha256 = "sha256-1grRt0F/myVzK+DMSeK5K0Ui8bJANEtE6/6IY+ZbPAw=";
};
nativeBuildInputs = [ autoreconfHook gperf pkg-config ronn ];
2022-10-03 15:26:05 +00:00
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";
2021-10-27 03:57:16 +00:00
maintainers = with maintainers; [ neverbehave ];
};
}