# Wait for a package

Hold an overlay until your distro or registry ships the version you need.

The fix is released, but nixpkgs or crates.io doesn’t have it yet. `version` waits for a package to reach `at-least`.

`canibump.toml`

```toml
[[blocker]]
id = "libfoo-overlay"
note = "drop the libfoo overlay"
version = "repology:libfoo"
repo = "nix_unstable"
at-least = "2.4.0"

[[blocker]]
id = "fastjson-vendored"
note = "stop vendoring fastjson"
version = "deps.dev:cargo/fastjson"
at-least = "1.1.0"
```

```
$ canibump
bumpable  libfoo-overlay     repology:libfoo in nix_unstable is at 2.4.0, at least 2.4.0 (drop the libfoo overlay)
waiting   fastjson-vendored  deps.dev:cargo/fastjson is at 1.1.0-rc1, waiting for 1.1.0
```

## Where versions come from

- **Repology** covers distro repos, nixpkgs channels included. `repo` picks one, like `nix_unstable` or `nix_stable_25_11`. Add `srcname` when the repo ships several packages under one project.
- **deps.dev** covers the language registries, crates.io, npm and PyPI among them. The [manifest reference](https://mlavrinenko.github.io/canibump/manifest/index.md#blocker) lists every one.

A pre-release sits below its release, so `1.1.0-rc1` still waits for `1.1.0`. The [version order](https://mlavrinenko.github.io/canibump/wait-on-a-release/index.md#version-order) is the same one tags use.

Repology asks for at most one request a second, and canibump keeps to it, so a manifest with many Repology blockers takes a moment.
