distributable:
  url: https://github.com/PyO3/maturin/archive/refs/tags/{{version.tag}}.tar.gz
  strip-components: 1

provides:
  - bin/maturin

versions:
  github: PyO3/maturin

build:
  dependencies:
    rust-lang.org/cargo: ^0.77
  script:
    cargo install --locked --path . --root {{prefix}}

test:
  maturin --version | grep {{version}}
