biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / security / snallygaster / default.nix
blob9045f82a42171f0bff1a1e4908ef9a287c6aa498
1 { lib
2 , python3Packages
3 , fetchFromGitHub
4 }:
6 python3Packages.buildPythonApplication rec {
7   pname = "snallygaster";
8   version = "0.0.12";
10   src = fetchFromGitHub {
11     owner = "hannob";
12     repo = pname;
13     rev = "v${version}";
14     sha256 = "sha256-JXuRCUWpoGhBbU38XMEQovCiVfbyBMJ+SIrt3iqFuAo=";
15   };
17   propagatedBuildInputs = with python3Packages; [
18     urllib3
19     beautifulsoup4
20     dnspython
21   ];
23   nativeCheckInputs = with python3Packages; [
24     pytestCheckHook
25   ];
27   pytestFlagsArray = [
28     # we are not interested in linting the project
29     "--ignore=tests/test_codingstyle.py"
30   ];
32   meta = with lib; {
33     description = "Tool to scan for secret files on HTTP servers";
34     mainProgram = "snallygaster";
35     homepage = "https://github.com/hannob/snallygaster";
36     license = licenses.cc0;
37     maintainers = [ ];
38   };