secretscanner: build with vectorscan instead of hyperscan

See https://github.com/NixOS/nixpkgs/issues/310772 for context.

This brings us aarch64-linux support for free.
This commit is contained in:
Florian Klink
2025-04-27 20:51:50 +03:00
parent eb2376c333
commit a8e2ff4683
+6 -3
View File
@@ -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 ];
};