about summary refs log tree commit diff
path: root/pkgs/tools/networking/radsecproxy/default.nix
blob: 0ed1150159d27d3b752db5af409b381f848993c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchurl, openssl }:

stdenv.mkDerivation rec {
  name = "radsecproxy-${version}";
  version = "1.6.9";

  src = fetchurl {
    url = "https://software.nordu.net/radsecproxy/radsecproxy-${version}.tar.xz";
    sha256 = "6f2c7030236c222782c9ac2c52778baa63540a1865b75a7a6d8c1280ce6ad816";
  };

  buildInputs = [ openssl ];

  configureFlags = [
     "--with-ssl=${openssl.dev}"
     "--sysconfdir=/etc"
     "--localstatedir=/var"
  ];

  meta = with stdenv.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;
  };
}