nixpkgs/pkgs/tools/networking/radsecproxy/default.nix

31 lines
795 B
Nix
Raw Normal View History

2019-07-29 20:17:04 +00:00
{ stdenv, fetchFromGitHub, openssl, autoreconfHook, nettle }:
2017-09-22 13:08:19 +00:00
stdenv.mkDerivation rec {
2019-07-29 20:17:04 +00:00
pname = "radsecproxy";
version = "1.8.0";
2017-09-22 13:08:19 +00:00
2019-07-29 20:17:04 +00:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "1268lbysa82b6h0101jzs0v6ixvmy3x0d0a8hw37sy95filsjmia";
2017-09-22 13:08:19 +00:00
};
2019-07-29 20:17:04 +00:00
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openssl nettle ];
2017-09-22 13:08:19 +00:00
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.";
2017-09-23 13:37:28 +00:00
license = licenses.bsd3;
2017-09-22 13:08:19 +00:00
maintainers = with maintainers; [ sargon ];
platforms = with platforms; linux;
};
}