Files
nixpkgs/pkgs/default.nix
T
m3ta-chiron c1e1933eaf feat(pkgs): add agent-lib 0.1.0
Source build (buildGoModule + fetchFromGitea) of
code.m3ta.dev/m3tam3re/agent-lib — curator/client CLI for vendoring
agent-content sources and syncing them into OpenCode runtime paths.

- static binary, upstream ldflags mirrored (internal/version.Version)
- offline test suite runs in check phase (gitMinimal for e2e fixtures)
- versionCheckHook wired to the 'version' subcommand
- nix-update-script for updates
2026-09-29 08:00:58 +02:00

68 lines
3.3 KiB
Nix

# m3ta-nixpkgs package registry
#
# Flake inputs used:
# inputs.basecamp → basecamp (pass-through)
# inputs.opencode → opencode-desktop (Electron desktop app, pure pass-through)
# inputs.agents → not used directly here (used by lib/)
{
pkgs,
inputs,
...
}: let
system = pkgs.stdenv.hostPlatform.system;
in {
# ── Local packages ────────────────────────────────────────────────
# Standard packages built from source in ./<name>/default.nix.
# No flake inputs required.
sidecar = pkgs.callPackage ./sidecar {};
td = pkgs.callPackage ./td {};
hyprpaper-random = pkgs.callPackage ./hyprpaper-random {};
launch-webapp = pkgs.callPackage ./launch-webapp {};
mem0 = pkgs.callPackage ./mem0 {};
msty-studio = pkgs.callPackage ./msty-studio {};
pomodoro-timer = pkgs.callPackage ./pomodoro-timer {};
rofi-project-opener = pkgs.callPackage ./rofi-project-opener {};
stt-ptt = pkgs.callPackage ./stt-ptt {};
tuxedo-backlight = pkgs.callPackage ./tuxedo-backlight {};
kestractl = pkgs.callPackage ./kestractl {};
openshell = pkgs.callPackage ./openshell {};
openwork = pkgs.callPackage ./openwork {};
zellij-ps = pkgs.callPackage ./zellij-ps {};
vibetyper = pkgs.callPackage ./vibetyper {};
talk = pkgs.callPackage ./talk {};
crunch = pkgs.callPackage ./crunch {};
agent-lib = pkgs.callPackage ./agent-lib {};
# ── Pass-through packages ──────────────────────────────────────────
# Imported directly from flake inputs. No local modifications.
# basecamp: tracked at github:basecamp/basecamp-cli/v0.8.0-rc.1.
# The rc.1 tag ships a stale nix/package.nix:
# - vendorHash does not match the tagged go.sum (buildGoModule FOD fails)
# - `version` was not bumped and still reads "0.7.2"
# We override both here so the input builds and reports the rc.1 version.
# When upstream fixes package.nix (expected for the 0.8.0 final), drop this
# override back to the plain pass-through.
# basecamp = inputs.basecamp.packages.${system}.default.overrideAttrs (_: {
# version = "0.8.0-rc.1";
# vendorHash = "sha256-m1UF/Ga9C9GJF0JtZMXFOX88chb+f279/aoAaiwfxvg=";
# # src stays the flake input (lib.cleanSource ./.. pinned by flake.lock to
# # rc.1) — only the version label that upstream forgot to bump is corrected.
# __intentionallyOverridingVersion = true;
# });
basecamp = inputs.basecamp.packages.${system}.default;
opencode-desktop = inputs.opencode.packages.${system}.opencode-desktop;
# buzz: Block's "hive mind" desktop app. Consumed from mulatta/buzz.nix
# because the upstream AppImage lacks the sidecars + Tauri GStreamer
# integration needed to actually run. Exposed under both `buzz-desktop`
# (mulatta's name) and `buzz` (the short alias). Builds entirely from
# source — no third-party binary cache. First build is slow (Rust + Tauri
# + sherpa-onnx); subsequent builds are cached in the local nix store.
# Note: mulatta only publishes packages for x86_64-linux, aarch64-linux,
# aarch64-darwin — x86_64-darwin will throw at build time.
buzz-desktop = inputs.buzz.packages.${system}.buzz-desktop;
buzz = inputs.buzz.packages.${system}.buzz-desktop;
}