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
68 lines (61 loc) · 1.74 KB
/
Copy pathflake.nix
File metadata and controls
68 lines (61 loc) · 1.74 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
{
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:gastownhall/beads";
};
outputs =
{
self,
nixpkgs,
flake-utils,
beads,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs {
inherit system;
};
beadsPkg = beads.packages.${system}.default;
in
{
packages = {
gt = pkgs.buildGoModule {
pname = "gt";
version = "1.2.0";
src = ./.;
vendorHash = "sha256-PQT/Xq9na3vI8Oy9INBYJf3GsiN5IxAVCxrNLhyIpO8=";
ldflags = [
"-X github.com/gastownhall/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/gastownhall/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 = [
beadsPkg
pkgs.go_1_25
pkgs.gopls
pkgs.gotools
pkgs.go-tools
];
};
}
);
}