feat: web-arm change to docker and install scana11y

This commit is contained in:
2025-09-09 17:55:43 +02:00
parent 58089e558e
commit b48ec98cb3
6 changed files with 87 additions and 23 deletions

View File

@@ -0,0 +1,29 @@
{ lib, buildGoModule, openssh }:
let
saRepoSrc = builtins.fetchGit {
url = "ssh://gitea@git.cloonar.com/ScanA11y/sa-core.git";
rev = "daf955c2dffb5d27593746274c33e6e3043c8227";
};
in
buildGoModule rec {
pname = "sa-core";
version = "0.1.0";
src = saRepoSrc;
vendorHash = "sha256-VAFs6RC8TJSap2ezYJOpfG+zFKBzLsAmaA+qBGmbBAI=";
subPackages = [ "." ];
# Optional tuning
CGO_ENABLED = 0;
ldflags = [ "-s" "-w" ];
doCheck = false;
meta = with lib; {
description = "ScanA11y core service";
license = licenses.mit; # adjust
mainProgram = "sa-core";
};
}