mirror of
https://github.com/avivsinai/bitbucket-cli.git
synced 2026-09-19 07:13:00 +08:00
1cbd633f46
Adds a Nix flake so users can install and run bkt reproducibly: nix run github:avivsinai/bitbucket-cli -- --version nix build github:avivsinai/bitbucket-cli#default The flake exposes: - packages.default / packages.bkt — built via buildGoModule, stamping the short commit into internal/build.versionFromLdflags when building from a clean tree - apps.default — for `nix run` - devShells.default — go, gopls, gotools, golangci-lint A new .github/workflows/nix.yml builds and smoke-tests the flake on ubuntu-latest and macos-latest. It runs only when flake inputs or Go modules change to avoid duplicating the Go-native CI on every PR. Motivation: NixOS / nix-darwin users currently have no first-class install path (Homebrew/Scoop/go install are the documented options). For agents/tools that want a pinned, reproducible bkt without touching a Go toolchain, `nix run github:...` is the simplest entry point. Signed-off-by: Sridhar Ratnakumar <srid@srid.ca>
62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"nodes": {
|
|
"flake-utils": {
|
|
"inputs": {
|
|
"systems": "systems"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1731533236,
|
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
"owner": "numtide",
|
|
"repo": "flake-utils",
|
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "numtide",
|
|
"repo": "flake-utils",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1775888245,
|
|
"narHash": "sha256-nwASzrRDD1JBEu/o8ekKYEXm/oJW6EMCzCRdrwcLe90=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "13043924aaa7375ce482ebe2494338e058282925",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"ref": "nixpkgs-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"flake-utils": "flake-utils",
|
|
"nixpkgs": "nixpkgs"
|
|
}
|
|
},
|
|
"systems": {
|
|
"locked": {
|
|
"lastModified": 1681028828,
|
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
"owner": "nix-systems",
|
|
"repo": "default",
|
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-systems",
|
|
"repo": "default",
|
|
"type": "github"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|