1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/by-name/ra/radcli/package.nix
Fabian Affolter ab05cc3b1f radcli: init at 1.3.1
RADIUS client library

https://radcli.github.io/radcli/
2024-04-13 15:12:04 +02:00

52 lines
919 B
Nix

{
lib,
stdenv,
autoreconfHook,
doxygen,
fetchFromGitHub,
gettext,
gnutls,
libabigail,
nettle,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "radcli";
version = "1.3.1";
src = fetchFromGitHub {
owner = "radcli";
repo = "radcli";
rev = "refs/tags/${version}";
hash = "sha256-KBgimvhuHvaVh9hxPr+CtibGWyscSi0KXk8S1/STk+Q=";
};
postUnpack = ''
touch ${src.name}/config.rpath
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
doxygen
gettext
gnutls
libabigail
nettle
];
meta = with lib; {
description = "A simple RADIUS client library";
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;
};
}