841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
30 lines
794 B
Nix
30 lines
794 B
Nix
{ lib, stdenv, fetchFromGitHub, openssl, autoreconfHook, nettle }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "radsecproxy";
|
|
version = "1.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0ppgnvmzk5j42zvz74mwaz6767lzf9vpl8y57w612fvqpg65g4bv";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ openssl nettle ];
|
|
|
|
configureFlags = [
|
|
"--with-ssl=${openssl.dev}"
|
|
"--sysconfdir=/etc"
|
|
"--localstatedir=/var"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://software.nordu.net/radsecproxy/";
|
|
description = "A generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ sargon ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|