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