df3dfcdd

Your first flake

Adds a `flake.nix` so the project can be built and checked with Nix (and run on NixCI).

It provides:

* `packages.default` — builds the dspy wheel (`python -m build`).
* `devShells.default` — python + uv + ruff + pre-commit development environment.
* `checks` — the package, the devShell, and a ruff lint gate mirroring the existing CI.

`nix flake check` builds every package and devShell.

Passing CI: https://staging.nix-ci.com/gh:NorfairKing:dspy/your-first-flake/cb8190b66789cb31dcb8babd71f9006186d44c65

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 1m26s 7s 7s 1m33s 1m26s
Eval 1m33s 24s 24s 1m58s 0s
Build 1m58s 12s 7s 2m05s 0s
Test 2m05s 17s 17s 2m23s 8s
Suite 1m26s 1m02s 56s 2m23s 1m35s

Timeline

0s1m30s1m40s1m50s2m2m10s2m20s