claude-monitor: init at 3.1.0

Co-authored-by: Victor Duarte <zvictor@users.noreply.github.com>
This commit is contained in:
iamanaws
2025-07-31 17:52:51 -07:00
co-authored by Victor Duarte
parent 8679b16e11
commit c43a5901f1
@@ -0,0 +1,47 @@
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
pname = "claude-monitor";
version = "3.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Maciek-roboblog";
repo = "Claude-Code-Usage-Monitor";
tag = "v${version}";
hash = "sha256-v5ooniaN1iVerBW77/00SpghIVE1j8cl2WENcPnS66M=";
};
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
numpy
pydantic
pydantic-settings
pyyaml
pytz
rich
];
# Tests require Claude API access and local data files
doCheck = false;
meta = {
description = "Real-time Claude Code usage monitor";
longDescription = ''
Real-time terminal monitoring tool for Claude AI token usage
with advanced analytics, machine learning-based predictions,
and Rich UI. Track your token consumption, burn rate, cost analysis,
and get intelligent predictions about session limits.
'';
homepage = "https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor";
changelog = "https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ iamanaws ];
mainProgram = "claude-monitor";
};
}