Files
nixpkgs/pkgs/by-name/ta/tacacsplus/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
958 B
Nix

{
lib,
stdenv,
fetchurl,
flex,
bison,
perl,
libnsl,
# --with-libwrap=yes is currently broken, TODO unbreak
withLibWrap ? false,
tcp_wrappers,
}:
stdenv.mkDerivation rec {
pname = "tacacsplus";
version = "4.0.4.28";
src = fetchurl {
url = "ftp://ftp.shrubbery.net/pub/tac_plus/tacacs-F${version}.tar.gz";
hash = "sha256-FH8tyY0m0vk/Crp2yYjO0Zb/4cAB3C6R94ihosdHIZ4=";
};
nativeBuildInputs = [
flex
bison
];
buildInputs = [
perl
libnsl
]
++ lib.optionals withLibWrap [
tcp_wrappers
];
configureFlags = lib.optionals (!withLibWrap) [
"--with-libwrap=no"
];
meta = with lib; {
description = "Protocol for authentication, authorization and accounting (AAA) services for routers and network devices";
homepage = "http://www.shrubbery.net/tac_plus/";
license = licenses.free;
maintainers = with maintainers; [ _0x4A6F ];
platforms = with platforms; linux;
};
}