rwalk: init at 0.8.7

This commit is contained in:
pwnwriter
2024-12-21 13:40:10 -05:00
parent 7d907cf58a
commit 334a9bd0b2
2 changed files with 3317 additions and 0 deletions
+3263
View File
File diff suppressed because it is too large Load Diff
+54
View File
@@ -0,0 +1,54 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "rwalk";
version = "0.8.7";
src = fetchFromGitHub {
owner = "cestef";
repo = "rwalk";
tag = "v${version}";
hash = "sha256-rEecl8KdPqPreCRq8CZCBfpedInYD7+gfCwCst+VS90=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
nativeBuildInputs = [
pkg-config
];
buildInputs =
[
openssl
]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
env = {
OPENSSL_NO_VENDOR = true;
};
meta = {
description = "A blazingly fast web directory scanner written in Rust";
homepage = "https://github.com/cestef/rwalk";
changelog = "https://github.com/cestef/rwalk/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pwnwriter ];
mainProgram = "rwalk";
};
}