Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 autoreconfHook,
5 doxygen,
6 fetchFromGitHub,
7 gettext,
8 gnutls,
9 libabigail,
10 nettle,
11 pkg-config,
12}:
13
14stdenv.mkDerivation rec {
15 pname = "radcli";
16 version = "1.4.0";
17
18 src = fetchFromGitHub {
19 owner = "radcli";
20 repo = "radcli";
21 tag = version;
22 hash = "sha256-YnZkFYTiU2VNKxuP+JTnH64XYTB/+imeMKN1mZN9VCQ=";
23 };
24
25 postUnpack = ''
26 touch ${src.name}/config.rpath
27 '';
28
29 nativeBuildInputs = [
30 autoreconfHook
31 pkg-config
32 ];
33
34 buildInputs = [
35 doxygen
36 gettext
37 gnutls
38 libabigail
39 nettle
40 ];
41
42 meta = {
43 description = "Simple RADIUS client library";
44 homepage = "https://github.com/radcli/radcli";
45 changelog = "https://github.com/radcli/radcli/blob/${version}/NEWS";
46 license = lib.licenses.bsd2;
47 maintainers = with lib.maintainers; [ fab ];
48 mainProgram = "radcli";
49 platforms = lib.platforms.all;
50 };
51}