{ lib, buildGoModule, openssh }: let saRepoSrc = builtins.fetchGit { url = "ssh://gitea@git.cloonar.com/ScanA11y/sa-core.git"; rev = "844c5a6b95ae28ab17da127011d1f027680d1a9a"; }; in buildGoModule rec { pname = "sa-core"; version = "0.2.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"; }; }