{ description = "auto-reverse — automated reverse engineering CLI"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; flake-parts.url = "github:hercules-ci/flake-parts"; 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 ]; perSystem = { pkgs, ... }: { treefmt = { projectRootFile = "flake.nix"; programs = { nixfmt.enable = true; ruff-check.enable = true; ruff-format.enable = true; }; }; devShells.default = pkgs.mkShell { packages = with pkgs; [ uv ruff pyright ]; shellHook = '' export UV_PYTHON_PREFERENCE=only-system ''; }; }; }; }