nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 816 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 openssl, 6 autoreconfHook, 7 nettle, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "radsecproxy"; 12 version = "1.11.2"; 13 14 src = fetchFromGitHub { 15 owner = "radsecproxy"; 16 repo = "radsecproxy"; 17 tag = finalAttrs.version; 18 hash = "sha256-E7nU6NgCmwRzX5j1Zyx/LTztjLqYJKv+3VU6UE0HhZA="; 19 }; 20 21 nativeBuildInputs = [ autoreconfHook ]; 22 23 buildInputs = [ 24 openssl 25 nettle 26 ]; 27 28 configureFlags = [ 29 "--with-openssl=${openssl.dev}" 30 "--sysconfdir=/etc" 31 "--localstatedir=/var" 32 ]; 33 34 meta = { 35 homepage = "https://radsecproxy.github.io/"; 36 description = "Generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports"; 37 license = lib.licenses.bsd3; 38 maintainers = [ ]; 39 platforms = with lib.platforms; linux; 40 }; 41})