mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
755b915a15
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/'
52 lines
917 B
Nix
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;
|
|
};
|
|
}
|