Skip to content

Commit

Permalink
Merge pull request #303836 from fabaff/radcli
Browse files Browse the repository at this point in the history
radcli: init at 1.3.1
  • Loading branch information
matthiasbeyer authored Apr 14, 2024
2 parents cc109e1 + ab05cc3 commit a51291f
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions pkgs/by-name/ra/radcli/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
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;
};
}

0 comments on commit a51291f

Please sign in to comment.