Files
nixpkgs/pkgs/by-name/ra/radsecproxy/package.nix
2026-08-10 08:24:46 +00:00

42 lines
816 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
openssl,
autoreconfHook,
nettle,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "radsecproxy";
version = "1.11.4";
src = fetchFromGitHub {
owner = "radsecproxy";
repo = "radsecproxy";
tag = finalAttrs.version;
hash = "sha256-RaDFfHNbifafa0sYr91/pjx6qetdoSLfSziI+PHIbpQ=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [
openssl
nettle
];
configureFlags = [
"--with-openssl=${openssl.dev}"
"--sysconfdir=/etc"
"--localstatedir=/var"
];
meta = {
homepage = "https://radsecproxy.github.io/";
description = "Generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports";
license = lib.licenses.bsd3;
maintainers = [ ];
platforms = with lib.platforms; linux;
};
})