nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 63 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 autoreconfHook, 6 pkg-config, 7 ipcalc, 8 nettle, 9 gnutls, 10 libev, 11 protobufc, 12 guile, 13 geoip, 14 libseccomp, 15 gperf, 16 readline, 17 lz4, 18 ronn, 19 pam, 20 libxcrypt, 21 oath-toolkit, 22}: 23 24stdenv.mkDerivation (finalAttrs: { 25 pname = "ocserv"; 26 version = "1.3.0"; 27 28 src = fetchFromGitLab { 29 owner = "openconnect"; 30 repo = "ocserv"; 31 tag = finalAttrs.version; 32 hash = "sha256-oZ1t1BTCdsq1jpa7LfzRGwQNTROHH9/lLBT2WAvj5h4="; 33 }; 34 35 nativeBuildInputs = [ 36 autoreconfHook 37 gperf 38 pkg-config 39 ronn 40 ]; 41 buildInputs = [ 42 ipcalc 43 nettle 44 gnutls 45 libev 46 protobufc 47 guile 48 geoip 49 libseccomp 50 readline 51 lz4 52 pam 53 libxcrypt 54 oath-toolkit 55 ]; 56 57 meta = { 58 homepage = "https://gitlab.com/openconnect/ocserv"; 59 license = lib.licenses.gpl2Plus; 60 description = "OpenConnect VPN server (ocserv), a server for the OpenConnect VPN client"; 61 maintainers = with lib.maintainers; [ neverbehave ]; 62 }; 63})