refactor custom emacs packages

This commit is contained in:
Tobias Ostner 2026-03-29 14:52:17 +02:00
parent ed7eb9fb62
commit 79105e12f7
4 changed files with 44 additions and 34 deletions

View file

@ -0,0 +1,23 @@
{ pkgs, final }:
final.melpaBuild {
pname = "agent-shell";
ename = "agent-shell";
version = "0.47.3";
src = pkgs.fetchFromGitHub {
owner = "xenodium";
repo = "agent-shell";
rev = "v0.50.1";
hash = "sha256-y3WKd7w9zNebNlP3phMLmMbrFd+MHqwwJH/dUP6VSlo=";
};
packageRequires = with final; [
acp
shell-maker
];
meta = {
homepage = "https://github.com/xenodium/agent-shell";
description = "Native agentic integrations for Claude Code, Gemini CLI, etc";
};
}

View file

@ -0,0 +1,10 @@
{ pkgs }:
final: prev: {
shell-maker = import ./shell-maker.nix {
inherit pkgs prev;
};
agent-shell = import ./agent-shell.nix {
inherit pkgs final;
};
}

View file

@ -0,0 +1,10 @@
{ pkgs, prev }:
prev.shell-maker.overrideAttrs (_: {
version = "0.90.1";
src = pkgs.fetchFromGitHub {
owner = "xenodium";
repo = "shell-maker";
rev = "55f829d179608a3c4b11e86427713d5be7c4bb58";
hash = "sha256-tFzyVXxgrR6LOPUhX4MgJNLy3PX+pwprjdYi+IZXr+E=";
};
})