Commit 1daa2fbc authored by Fabian Affolter's avatar Fabian Affolter
Browse files

http-scanner: init at 1.0.1

HTTP security vulnerability scanner that detects a wide range of web
application vulnerabilities

https://github.com/aymaneallaoui/kafka-http-scanner
parent 003fba3c
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "http-scanner";
  version = "1.0.1";

  src = fetchFromGitHub {
    owner = "aymaneallaoui";
    repo = "kafka-http-scanner";
    tag = version;
    hash = "sha256-+8UpdNRuu0nTYiBBS+yiVwDEtC/KpEeyPCEeJvsjxfs=";
  };

  vendorHash = "sha256-Nvp9Qd1lz6/4fTgvqpInk+QhKYr/Fcunw53WERBpT8Q=";

  ldflags = [
    "-s"
    "-w"
    "-X=github.com/aymaneallaoui/kafka-http-scanner/pkg/utils.Version=${version}"
  ];

  meta = {
    description = "HTTP security vulnerability scanner that detects a wide range of web application vulnerabilities";
    homepage = "https://github.com/aymaneallaoui/kafka-http-scanner";
    changelog = "https://github.com/aymaneallaoui/kafka-http-scanner/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "http-scanner";
    broken = stdenv.isDarwin;
  };
}