claude-monitor: init at 3.1.0 (#429746)

authored by Peder Bergebakken Sundt and committed by GitHub fb038609 69aa0e0f

+47
+47
pkgs/by-name/cl/claude-monitor/package.nix
··· 1 + { 2 + lib, 3 + python3Packages, 4 + fetchFromGitHub, 5 + }: 6 + 7 + python3Packages.buildPythonApplication rec { 8 + pname = "claude-monitor"; 9 + version = "3.1.0"; 10 + pyproject = true; 11 + 12 + src = fetchFromGitHub { 13 + owner = "Maciek-roboblog"; 14 + repo = "Claude-Code-Usage-Monitor"; 15 + tag = "v${version}"; 16 + hash = "sha256-v5ooniaN1iVerBW77/00SpghIVE1j8cl2WENcPnS66M="; 17 + }; 18 + 19 + build-system = with python3Packages; [ setuptools ]; 20 + 21 + dependencies = with python3Packages; [ 22 + numpy 23 + pydantic 24 + pydantic-settings 25 + pyyaml 26 + pytz 27 + rich 28 + ]; 29 + 30 + # Tests require Claude API access and local data files 31 + doCheck = false; 32 + 33 + meta = { 34 + description = "Real-time Claude Code usage monitor"; 35 + longDescription = '' 36 + Real-time terminal monitoring tool for Claude AI token usage 37 + with advanced analytics, machine learning-based predictions, 38 + and Rich UI. Track your token consumption, burn rate, cost analysis, 39 + and get intelligent predictions about session limits. 40 + ''; 41 + homepage = "https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor"; 42 + changelog = "https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor/blob/v${version}/CHANGELOG.md"; 43 + license = lib.licenses.mit; 44 + maintainers = with lib.maintainers; [ iamanaws ]; 45 + mainProgram = "claude-monitor"; 46 + }; 47 + }