Files
nixos/hosts/web-arm/pkgs/sa-core.nix
Dominik Polakovics 1b27bafd41 feat(web-arm): update to 25.11
- Migrate logind.extraConfig to logind.settings.Login
- Update dovecot alert for service rename (dovecot2 → dovecot)
- Fix sa-core buildGoModule env attribute for CGO_ENABLED
2025-12-01 22:48:02 +01:00

30 lines
605 B
Nix

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