Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 41 lines 824 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 openssl, 6 autoreconfHook, 7 nettle, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "radsecproxy"; 12 version = "1.11.2"; 13 14 src = fetchFromGitHub { 15 owner = "radsecproxy"; 16 repo = "radsecproxy"; 17 tag = 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 = with lib.maintainers; [ sargon ]; 39 platforms = with lib.platforms; linux; 40 }; 41}