nixfetch
Fixed-output fetchurl / fetchgit download and flat/NAR hash verification on id_effect.
Doctrine: Pure hash/NAR/verify algebra; I/O via DI 3.0 caps (HttpFetch, GitFetch, PathIo, Clock); CLI = run_with + id_effect_cli exit codes.
CLI
Exit: 0 match/success, 1 hash mismatch, ≥2 infra.
Library
- Flat SHA256 and recursive NAR SHA256
- Parse expected digests: SRI, hex, Nix base32
fixed_output_pathvia path-depnixdrv
Packaging (v1)
Devenv + moon only (devenv shell -- cargo test -p nixfetch, nixfetch-coverage). No NixOS module yet.
Non-goals
- Store realise / register / GC
- Auto-unpack of tarballs
- Full Nix evaluator / daemon
- Assay
Claim::Fetch(deferred)