mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
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.1";
|
||
|
|
||
|
src = fetchFromGitLab {
|
||
|
owner = "openconnect";
|
||
|
repo = "ocserv";
|
||
|
rev = "ocserv_${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}";
|
||
|
sha256 = "0jn91a50r3ryj1ph9fzxwy2va877b0b37ahargxzn7biccd8nh0y";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|