mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
27 lines
896 B
Nix
27 lines
896 B
Nix
{ stdenv, fetchFromGitLab, autoreconfHook, pkgconfig, nettle, gnutls
|
|
, libev, protobufc, guile, geoip, libseccomp, gperf, readline
|
|
, lz4, libgssglue, ronn, pam
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocserv";
|
|
version = "0.12.4";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "openconnect";
|
|
repo = "ocserv";
|
|
rev = "ocserv_${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}";
|
|
sha256 = "0lybz93ah6n5b82ywshhmsmf65im8rk6gkxnzxfbxpqxra79j517";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|