mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
56f64dc08b
* radsecproxy: 1.9.0 -> 1.9.1 (#143555) * radsecproxy: fix homepage Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
31 lines
784 B
Nix
31 lines
784 B
Nix
{ lib, stdenv, fetchFromGitHub, openssl, autoreconfHook, nettle }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "radsecproxy";
|
|
version = "1.9.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-gSXjwQ9zJPVNzGqLsZzTEQ0OxbQUiUJYGxrEm56DZDE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ openssl nettle ];
|
|
|
|
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";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ sargon ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|