forked from gastownhall/gastown
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
69 lines (62 loc) · 1.77 KB
/
flake.nix
File metadata and controls
69 lines (62 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
description = "Multi-agent orchestration system for Claude Code with persistent work tracking";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
beads = {
url = "github:steveyegge/beads/v0.55.4";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
self,
nixpkgs,
flake-utils,
beads,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
beads = self.inputs.beads.packages.${system};
in
{
packages = {
gt = pkgs.buildGoModule {
pname = "gt";
version = "0.8.0";
src = ./.;
vendorHash = "sha256-XWv/slFm796AO928eqzVHms0uUX4ZMJk0I4mZz+kp54=";
ldflags = [
"-X github.com/steveyegge/gastown/internal/cmd.Build=nix"
"-X github.com/steveyegge/gastown/internal/cmd.BuiltProperly=1"
];
subPackages = [ "cmd/gt" ];
meta = with pkgs.lib; {
description = "Multi-agent orchestration system for Claude Code with persistent work tracking";
homepage = "https://github.com/steveyegge/gastown";
license = licenses.mit;
mainProgram = "gt";
};
};
default = self.packages.${system}.gt;
};
apps = {
gt = flake-utils.lib.mkApp {
drv = self.packages.${system}.gt;
};
default = self.apps.${system}.gt;
};
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
beads
go
gopls
gotools
go-tools
];
};
}
);
}