1{ stdenv, fetchurl, openssl }:
2
3stdenv.mkDerivation rec {
4 name = "radsecproxy-${version}";
5 version = "1.6.9";
6
7 src = fetchurl {
8 url = "https://software.nordu.net/radsecproxy/radsecproxy-${version}.tar.xz";
9 sha256 = "6f2c7030236c222782c9ac2c52778baa63540a1865b75a7a6d8c1280ce6ad816";
10 };
11
12 buildInputs = [ openssl ];
13
14 configureFlags = [
15 "--with-ssl=${openssl.dev}"
16 "--sysconfdir=/etc"
17 "--localstatedir=/var"
18 ];
19
20 meta = with stdenv.lib; {
21 homepage = https://software.nordu.net/radsecproxy/;
22 description = "A generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports.";
23 license = licenses.bsd3;
24 maintainers = with maintainers; [ sargon ];
25 platforms = with platforms; linux;
26 };
27}