Unverified Commit 142677bb authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

secretscanner: build with vectorscan instead of hyperscan (#402329)

parents c94248d4 a8e2ff46
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -2,11 +2,11 @@
  lib,
  buildGoModule,
  fetchFromGitHub,
  hyperscan,
  pkg-config,
  protobuf,
  protoc-gen-go,
  protoc-gen-go-grpc,
  vectorscan,
}:

buildGoModule rec {
@@ -35,7 +35,7 @@ buildGoModule rec {
  ];

  buildInputs = [
    hyperscan
    vectorscan
  ];

  preBuild = ''
@@ -52,7 +52,10 @@ buildGoModule rec {
    mainProgram = "secretscanner";
    homepage = "https://github.com/deepfence/SecretScanner";
    changelog = "https://github.com/deepfence/SecretScanner/releases/tag/v${version}";
    platforms = [ "x86_64-linux" ];
    platforms = [
      "x86_64-linux"
      "aarch64-linux"
    ];
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };