mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
571c71e6f7
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.
23 lines
720 B
Nix
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;
|
|
};
|
|
}
|