depot/third_party/nixpkgs/pkgs/tools/networking/radsecproxy/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

30 lines
782 B
Nix

{ lib, stdenv, fetchFromGitHub, openssl, autoreconfHook, nettle }:
stdenv.mkDerivation rec {
pname = "radsecproxy";
version = "1.9.3";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "sha256-4w5aQIh3loHrxFGhWt6pW2jgj/JuqQSYmNsnAkEuKoI=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openssl nettle ];
configureFlags = [
"--with-ssl=${openssl.dev}"
"--sysconfdir=/etc"
"--localstatedir=/var"
];
meta = with lib; {
homepage = "https://radsecproxy.github.io/";
description = "Generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports";
license = licenses.bsd3;
maintainers = with maintainers; [ sargon ];
platforms = with platforms; linux;
};
}