Files
nixpkgs/pkgs/by-name/fe/feroxbuster/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

53 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
openssl,
pkg-config,
rustPlatform,
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
pname = "feroxbuster";
version = "2.12.0";
src = fetchFromGitHub {
owner = "epi052";
repo = "feroxbuster";
tag = "v${version}";
hash = "sha256-uVRZp9r3888k//UsNUr7NKQcmFe2/RLmlIt/RgZ3Ips=";
};
cargoHash = "sha256-W6sNc8RVItOGHIw3vmtZlJayqrzvmuET2B2AIl7LAL4=";
OPENSSL_NO_VENDOR = true;
nativeBuildInputs = [
pkg-config
versionCheckHook
];
buildInputs = [ openssl ];
# Tests require network access
doCheck = false;
doInstallCheck = true;
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Recursive content discovery tool";
homepage = "https://github.com/epi052/feroxbuster";
changelog = "https://github.com/epi052/feroxbuster/releases/tag/v${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
platforms = platforms.unix;
mainProgram = "feroxbuster";
};
}