mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
5d95d05283
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/radsecproxy/versions
31 lines
795 B
Nix
31 lines
795 B
Nix
{ stdenv, fetchFromGitHub, openssl, autoreconfHook, nettle }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "radsecproxy";
|
|
version = "1.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "12pvwd7v3iswki3riycxaiiqxingg4bqnkwc5ay3j4n2kzynr1qg";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ openssl nettle ];
|
|
|
|
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;
|
|
};
|
|
}
|