fix(ai-tools): bump 'ccline'
This commit is contained in:
1 parent
ddee912f51
commit
4498e8303c
1 file changed
+15
-14
@@ -12,25 +12,26 @@ in
|
|||||||
programs.claude-code.enable = true;
|
programs.claude-code.enable = true;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
(stdenv.mkDerivation {
|
(rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
name = "ccline";
|
pname = "ccometixline";
|
||||||
src = fetchurl {
|
version = "2.0.1";
|
||||||
url = "https://github.com/Haleclipse/CCometixLine/releases/download/v1.0.8/ccline-linux-x64.tar.gz";
|
src = fetchFromGitHub {
|
||||||
hash = "sha256-Joe3Dd6uSMGi66QT6xr2oY/Tz8rA5RuKa6ckBVJIzI0=";
|
owner = "Haleclipse";
|
||||||
|
repo = "CCometixLine";
|
||||||
|
tag = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-tzEo+8M86C6EdN31rDVqt8+SCYqeEXRCVFsbtbW41XY=";
|
||||||
};
|
};
|
||||||
unpackPhase = "tar xzf $src";
|
cargoHash = "sha256-dTsuyklpaiYqp5Rq1Q7YUBrmQUH42ve2UY+MwUqF7Ek=";
|
||||||
installPhase = ''
|
checkFlags = [ "--skip=git::tests::detects_repositories_without_spawning_git" ];
|
||||||
mkdir -p $out/bin
|
postInstall = "mv $out/bin/ccometixline $out/bin/ccline";
|
||||||
cp ccline $out/bin/
|
|
||||||
chmod +x $out/bin/ccline
|
|
||||||
'';
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "CCometixLine Linux x64 CLI (Claude Code statusline)";
|
description = "CCometixLine (ccline) - Claude Code statusline tool";
|
||||||
homepage = "https://github.com/Haleclipse/CCometixLine";
|
homepage = "https://github.com/Haleclipse/CCometixLine";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
platforms = [ "x86_64-linux" ];
|
mainProgram = "ccline";
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
})
|
}))
|
||||||
rtk
|
rtk
|
||||||
mcp-nixos
|
mcp-nixos
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in new issue
Block a user