Something went wrong. Try again.
npx ccusage
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ description = "Usage analysis tool for Claude Code";
inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; bun2nix = { url = "github:nix-community/bun2nix"; inputs.nixpkgs.follows = "nixpkgs"; }; crane.url = "github:ipetkov/crane"; flake-parts.url = "github:hercules-ci/flake-parts"; agent-skills = { url = "github:Kyure-A/agent-skills-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; git-hooks = { url = "github:cachix/git-hooks.nix"; inputs.nixpkgs.follows = "nixpkgs"; }; litellm = { url = "github:BerriAI/litellm"; flake = false; }; models-dev = { url = "github:anomalyco/models.dev"; flake = false; }; nix-filter.url = "github:numtide/nix-filter"; rust-overlay = { url = "github:oxalica/rust-overlay"; inputs.nixpkgs.follows = "nixpkgs"; }; treefmt-nix = { url = "github:numtide/treefmt-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; };
outputs = inputs@{ flake-parts, ... }: flake-parts.lib.mkFlake { inherit inputs; } { systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
imports = [ inputs.treefmt-nix.flakeModule inputs.git-hooks.flakeModule ./nix/agent-skills.nix ./nix/treefmt.nix ./nix/git-hooks.nix ./nix/packages.nix ./nix/static-package.nix ./nix/darwin-x64-package.nix ./nix/tests.nix ./nix/checks.nix ./nix/dev-shell.nix ]; };}