diff --git a/.prototools b/.prototools index 81f18ba..da05556 100644 --- a/.prototools +++ b/.prototools @@ -25,6 +25,7 @@ ninja = "1.11.1" octopus = "2.2.1" oxlint = "0.2.12" pact_verifier_cli = "1.1.1" +pixi = "0.25.0" rattler-build = "0.13.0" ruff = "0.3.0" shellcheck = "0.10.0" @@ -61,6 +62,7 @@ ninja = "source:ninja/plugin.toml" octopus = "source:octopus/plugin.toml" oxlint = "source:oxlint/plugin.toml" pact_verifier_cli = "source:pact_verifier_cli/plugin.toml" +pixi = "source:pixi/plugin.toml" rattler-build = "source:rattler-build/plugin.toml" ruff = "source:ruff/plugin.toml" shellcheck = "source:shellcheck/plugin.toml" diff --git a/README.md b/README.md index 935ae20..3fd5681 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ A growing collection of proto TOML plugins. - [oxlint](oxlint/README.md) - [Octopus CLI](octopus/README.md) - [Pact Verifier CLI](pact_verifier_cli/README.md) +- [Pixi](pixi/README.md) - [rattler-build](rattler-build/README.md) - [Ruff](ruff/README.md) - [ShellCheck](shellcheck/README.md) diff --git a/pixi/README.md b/pixi/README.md new file mode 100644 index 0000000..d4b2cff --- /dev/null +++ b/pixi/README.md @@ -0,0 +1,21 @@ +# pixi plugin + +[pixi](https://github.com/prefix-dev/pixi) plugin for [proto](https://github.com/moonrepo/proto). + +## Installation + +This is a community plugin and is thus not built-in to proto. In order to use it, first either add it to your global or project-based `.prototools` by running: + +### Global install + +```shell +proto plugin add pixi "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/pixi/plugin.toml" --global +proto install pixi +``` + +### Per-project install + +```shell +proto plugin add pixi "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/pixi/plugin.toml" +proto pin pixi latest --resolve +``` diff --git a/pixi/plugin.toml b/pixi/plugin.toml new file mode 100644 index 0000000..f799325 --- /dev/null +++ b/pixi/plugin.toml @@ -0,0 +1,17 @@ +name = "pixi" +type = "cli" + +[resolve] +git-url = "https://github.com/prefix-dev/pixi" + +[platform.linux] +download-file = "pixi-{arch}-unknown-linux-musl.tar.gz" + +[platform.macos] +download-file = "pixi-{arch}-apple-darwin.tar.gz" + +[platform.windows] +download-file = "pixi-{arch}-pc-windows-msvc.zip" + +[install] +download-url = "https://github.com/prefix-dev/pixi/releases/download/v{version}/{download_file}"