2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, openssl, autoreconfHook, nettle }:
|
2017-09-22 15:08:19 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-07-29 22:17:04 +02:00
|
|
|
pname = "radsecproxy";
|
2021-06-13 11:33:46 +02:00
|
|
|
version = "1.9.0";
|
2017-09-22 15:08:19 +02:00
|
|
|
|
2019-07-29 22:17:04 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-06-13 11:33:46 +02:00
|
|
|
sha256 = "0ppgnvmzk5j42zvz74mwaz6767lzf9vpl8y57w612fvqpg65g4bv";
|
2017-09-22 15:08:19 +02:00
|
|
|
};
|
|
|
|
|
2019-07-29 22:17:04 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ openssl nettle ];
|
2017-09-22 15:08:19 +02:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-ssl=${openssl.dev}"
|
|
|
|
"--sysconfdir=/etc"
|
|
|
|
"--localstatedir=/var"
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://software.nordu.net/radsecproxy/";
|
2020-10-11 07:55:05 +02:00
|
|
|
description = "A generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports";
|
2017-09-23 15:37:28 +02:00
|
|
|
license = licenses.bsd3;
|
2017-09-22 15:08:19 +02:00
|
|
|
maintainers = with maintainers; [ sargon ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|