nixpkgs/pkgs/by-name/ta/tacacsplus/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

23 lines
720 B
Nix

{ lib, stdenv, fetchurl, tcp_wrappers, flex, bison, perl, libnsl }:
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 = [ tcp_wrappers perl libnsl ];
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;
};
}