2020-11-24 20:58:05 +00:00
|
|
|
{ lib
|
|
|
|
, python3Packages
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "snallygaster";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "0.0.12";
|
2020-11-24 20:58:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hannob";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "sha256-JXuRCUWpoGhBbU38XMEQovCiVfbyBMJ+SIrt3iqFuAo=";
|
2020-11-24 20:58:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
urllib3
|
|
|
|
beautifulsoup4
|
|
|
|
dnspython
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = with python3Packages; [
|
2020-11-24 20:58:05 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pytestFlagsArray = [
|
|
|
|
# we are not interested in linting the project
|
|
|
|
"--ignore=tests/test_codingstyle.py"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool to scan for secret files on HTTP servers";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "snallygaster";
|
2020-11-24 20:58:05 +00:00
|
|
|
homepage = "https://github.com/hannob/snallygaster";
|
|
|
|
license = licenses.cc0;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2020-11-24 20:58:05 +00:00
|
|
|
};
|
|
|
|
}
|