nixpkgs/pkgs/tools/security/feroxbuster/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
849 B
Nix
Raw Normal View History

2022-03-16 18:04:34 +00:00
{ lib
, stdenv
, fetchFromGitHub
, openssl
, pkg-config
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "feroxbuster";
2022-05-14 11:06:12 +00:00
version = "2.7.1";
2022-03-16 18:04:34 +00:00
src = fetchFromGitHub {
owner = "epi052";
repo = pname;
2022-04-22 07:28:00 +00:00
rev = version;
2022-05-14 11:06:12 +00:00
hash = "sha256-B6FeY5pWW5+y/0HlVedkm8ol2z9GXgEYe5j7/uMhqsw=";
2022-03-16 18:04:34 +00:00
};
2022-05-14 11:06:12 +00:00
cargoSha256 = "sha256-OFgt8yu2wlvkP/wjlmRRl8UyD9MUx9/0Rcs6K8jLkjo=";
2022-03-16 18:04:34 +00:00
OPENSSL_NO_VENDOR = true;
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
Security
];
# Tests require network access
doCheck = false;
meta = with lib; {
description = "Fast, simple, recursive content discovery tool";
homepage = "https://github.com/epi052/feroxbuster";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}