Resolve Dependabot alerts #146 (apache/thrift < 0.24.0) and #151 (google.golang.org/grpc <= 1.83.1) on the root module with the minimal bump: no other module moves, and both need only go 1.25, so the Nix flake stays on its current nixpkgs. Recompute default.nix vendorHash for the new go.sum. This lands the security fix independently of the Dolt 2.4.1 upgrade in #7441, which carries the same two bumps. Co-authored-by: Julian Knutsen <julianknutsen@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
44 lines
1 KiB
Nix
44 lines
1 KiB
Nix
{
|
|
lib,
|
|
self,
|
|
buildGoModule,
|
|
git,
|
|
...
|
|
}:
|
|
buildGoModule {
|
|
pname = "beads";
|
|
version = "1.3.0";
|
|
|
|
src = self;
|
|
|
|
# Point to the main Go package
|
|
subPackages = [ "cmd/bd" ];
|
|
tags = [ "gms_pure_go" ];
|
|
doCheck = false;
|
|
|
|
# proxyVendor avoids vendor/modules.txt consistency checks when the vendored
|
|
# tree lags go.mod/go.sum.
|
|
proxyVendor = true;
|
|
vendorHash = "sha256-IL80Qs9c7ZG17R/hRF6D+F6WVmGB0I+k60+nFuUpIJA=";
|
|
|
|
# Match go.mod to the selected Nix Go toolchain. buildGoModule also builds
|
|
# vendored dependencies in the Nix sandbox, where toolchain downloads are not
|
|
# available.
|
|
postPatch = ''
|
|
goVer="$(go env GOVERSION | sed 's/^go//')"
|
|
go mod edit -go="$goVer"
|
|
'';
|
|
|
|
env.GOTOOLCHAIN = "local";
|
|
|
|
# Git is required for tests
|
|
nativeBuildInputs = [ git ];
|
|
|
|
meta = with lib; {
|
|
description = "beads (bd) - An issue tracker designed for AI-supervised coding workflows";
|
|
homepage = "https://github.com/gastownhall/beads";
|
|
license = licenses.mit;
|
|
mainProgram = "bd";
|
|
maintainers = [ ];
|
|
};
|
|
}
|