{ description = "Anthropic API proxy with OAuth key rotation"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils, }: flake-utils.lib.eachDefaultSystem ( system: let pkgs = import nixpkgs { inherit system; config.allowUnfree = true; }; in { packages = { proxy = pkgs.callPackage ./package.nix {}; }; devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ go gopls gotools go-tools delve curl jq claude-code opencode mitmproxy ]; shellHook = '' export GOPATH="$PWD/.go" export PATH="$GOPATH/bin:$PATH" ''; }; } ); }