Re-cut of the burned v1.2.0: that tag failed pre-publish in goreleaser on
the freebsd cross-compile break (no artifacts were published), and a
burned tag is never reused (v1.1.1 precedent), so the same content ships
as 1.2.1 with the fix (#5661) included. The [1.2.0] changelog section is
renamed to [1.2.1] with a note; versionChanges rides along. Also the
first bump to regenerate the tracked .githooks markers via the previous
commit's update-versions.sh fix, clearing the main-red from fa3d8cc5c.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
44 lines
1 KiB
Nix
44 lines
1 KiB
Nix
{
|
|
lib,
|
|
self,
|
|
buildGoModule,
|
|
git,
|
|
...
|
|
}:
|
|
buildGoModule {
|
|
pname = "beads";
|
|
version = "1.2.1";
|
|
|
|
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-D+KDoLFJHpt9D9rCrtE3NMfL4fgK7UxpdKlCxp5yz5Y=";
|
|
|
|
# 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 = [ ];
|
|
};
|
|
}
|