nixpkgs/pkgs/by-name/ra/radcli/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

52 lines
917 B
Nix

{
lib,
stdenv,
autoreconfHook,
doxygen,
fetchFromGitHub,
gettext,
gnutls,
libabigail,
nettle,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "radcli";
version = "1.4.0";
src = fetchFromGitHub {
owner = "radcli";
repo = "radcli";
rev = "refs/tags/${version}";
hash = "sha256-YnZkFYTiU2VNKxuP+JTnH64XYTB/+imeMKN1mZN9VCQ=";
};
postUnpack = ''
touch ${src.name}/config.rpath
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
doxygen
gettext
gnutls
libabigail
nettle
];
meta = with lib; {
description = "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;
};
}