Commit 88178d42 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

exposor: init at 1.0.0

Tool using internet search engines to detect exposed technologies with a unified syntax

https://github.com/abuyv/exposor
parent 51d1d377
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
{
  lib,
  python3,
  fetchFromGitHub,
}:

python3.pkgs.buildPythonApplication rec {
  pname = "exposor";
  version = "1.0.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "abuyv";
    repo = "exposor";
    tag = "v${version}";
    hash = "sha256-D/AMoLMUUjiKbrDS90GkVLHncMHSmtfjLINf97LEU1w=";
  };

  postPatch = ''
    # File contains unknown property
    rm pyproject.toml
  '';

  build-system = with python3.pkgs; [ setuptools ];

  dependencies = with python3.pkgs; [
    python-dotenv
    pyyaml
    requests
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "exposor" ];

  meta = {
    description = "Tool using internet search engines to detect exposed technologies with a unified syntax";
    homepage = "https://github.com/abuyv/exposor";
    changelog = "https://github.com/abuyv/exposor/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "exposor";
  };
}