1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/tools/networking/radsecproxy/default.nix

31 lines
794 B
Nix
Raw Normal View History

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