mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
72a198fc60
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ocserv/versions
27 lines
917 B
Nix
27 lines
917 B
Nix
{ stdenv, fetchFromGitLab, autoreconfHook, pkgconfig, nettle, gnutls
|
|
, libev, protobufc, guile, geoip, libseccomp, gperf, readline
|
|
, lz4, libgssglue, ronn, coreutils, pam
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ocserv-${version}";
|
|
version = "0.12.3";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "openconnect";
|
|
repo = "ocserv";
|
|
rev = "ocserv_${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}";
|
|
sha256 = "072256099l1c6p7dvvzp0gyafh1zvmmgmnpy0fcmv9sy80qg3p44";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp gperf readline lz4 libgssglue ronn pam ];
|
|
|
|
meta = with stdenv.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; [ ma27 ];
|
|
};
|
|
}
|