beads/default.nix
dependabot[bot] 9cdb62868e
chore(deps): bump github.com/dolthub/driver from 1.86.4 to 1.88.1 (#3830)
Bumps github.com/dolthub/driver from 1.86.4 to 1.88.1 and includes CI repair for the Nix vendor hash plus generated CLI docs.\n\n_codex-gpt-5-medium on behalf of CI Bot_
2026-05-11 15:08:03 -07:00

44 lines
1 KiB
Nix

{
lib,
self,
buildGoModule,
git,
...
}:
buildGoModule {
pname = "beads";
version = "1.0.4";
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-go7jXdZoyHR6UjofEvLZAPu9dUn+N+Yi6ieQlT9rNCI=";
# 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 = [ ];
};
}