2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
autoreconfHook,
|
|
|
|
doxygen,
|
|
|
|
fetchFromGitHub,
|
|
|
|
gettext,
|
|
|
|
gnutls,
|
|
|
|
libabigail,
|
|
|
|
nettle,
|
|
|
|
pkg-config,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "radcli";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "1.4.0";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "radcli";
|
|
|
|
repo = "radcli";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-YnZkFYTiU2VNKxuP+JTnH64XYTB/+imeMKN1mZN9VCQ=";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postUnpack = ''
|
|
|
|
touch ${src.name}/config.rpath
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
doxygen
|
|
|
|
gettext
|
|
|
|
gnutls
|
|
|
|
libabigail
|
|
|
|
nettle
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple RADIUS client library";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/radcli/radcli";
|
|
|
|
changelog = "https://github.com/radcli/radcli/blob/${version}/NEWS";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
mainProgram = "radcli";
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|