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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
784 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, openssl, autoreconfHook, nettle }:
2017-09-22 16:08:19 +03:00
stdenv.mkDerivation rec {
2019-07-29 23:17:04 +03:00
pname = "radsecproxy";
2023-01-27 05:21:46 +03:00
version = "1.9.2";
2017-09-22 16:08:19 +03:00
2019-07-29 23:17:04 +03:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
2023-01-27 05:21:46 +03:00
sha256 = "sha256-/ldW2JQd8GuG0uspfa56vtzPg4ucj+HCL8gbo9oLReM=";
2017-09-22 16:08:19 +03:00
};
2019-07-29 23:17:04 +03:00
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openssl nettle ];
2017-09-22 16:08:19 +03:00
configureFlags = [
"--with-ssl=${openssl.dev}"
"--sysconfdir=/etc"
"--localstatedir=/var"
];
meta = with lib; {
homepage = "https://radsecproxy.github.io/";
description = "A generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports";
2017-09-23 16:37:28 +03:00
license = licenses.bsd3;
2017-09-22 16:08:19 +03:00
maintainers = with maintainers; [ sargon ];
platforms = with platforms; linux;
};
}