Repository navigation
docs(specs): add package definition spec and Go example - #3000
Open
mikeland73 wants to merge 1 commit into
Open
mikeland73 wants to merge 1 commit into
mikeland73 wants to merge 1 commit into
Conversation
Add the specification for package definitions, a declarative format for installing a tool from the upstream vendor's binary distribution instead of nixpkgs, referenced from devbox.json as pkg:<ref>@<version>. The document doubles as the living implementation plan and status board. Add pkgs/go/go.pkg.json, the first definition, which installs Go from the official builds on go.dev using its JSON index for versions and checksums. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
mikeland73
added this pull request to stack #3003
October 22, 2026 21:35
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
First PR of a three-PR stack that lets a Devbox project install a tool from the upstream vendor's binary distribution instead of nixpkgs, driven by a declarative package definition file.
specs/package-definitions.md: the format specification (<name>.pkg.json, referenced aspkg:<ref>@<version>), lockfile shape, install strategies, checksums, template variables, activation, security notes. It doubles as the living implementation plan and status table.pkgs/go/go.pkg.json: the first definition. Installs Go from the official go.dev builds, using its JSON index for versions and per-file checksums.Stack:
internal/pkgdeflibraryDEVBOX_FEATURE_PKG_DEFSflagTest plan
go version go1.22.12 darwin/arm64from go.dev).🤖 Generated with Claude Code