Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
64 lines
1004 B
Nix
64 lines
1004 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
ipcalc,
|
|
nettle,
|
|
gnutls,
|
|
libev,
|
|
protobufc,
|
|
guile,
|
|
geoip,
|
|
libseccomp,
|
|
gperf,
|
|
readline,
|
|
lz4,
|
|
ronn,
|
|
pam,
|
|
libxcrypt,
|
|
oath-toolkit,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "ocserv";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "openconnect";
|
|
repo = "ocserv";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-oZ1t1BTCdsq1jpa7LfzRGwQNTROHH9/lLBT2WAvj5h4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
gperf
|
|
pkg-config
|
|
ronn
|
|
];
|
|
buildInputs = [
|
|
ipcalc
|
|
nettle
|
|
gnutls
|
|
libev
|
|
protobufc
|
|
guile
|
|
geoip
|
|
libseccomp
|
|
readline
|
|
lz4
|
|
pam
|
|
libxcrypt
|
|
oath-toolkit
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://gitlab.com/openconnect/ocserv";
|
|
license = lib.licenses.gpl2Plus;
|
|
description = "OpenConnect VPN server (ocserv), a server for the OpenConnect VPN client";
|
|
maintainers = with lib.maintainers; [ neverbehave ];
|
|
};
|
|
})
|