11class PixiPack < Formula
22 desc "Pack and unpack conda environments created with pixi"
33 homepage "https://pixi.sh/latest/advanced/production_deployment/#pixi-pack"
4- url "https://github.com/quantco/pixi-pack/archive/refs/tags/v0.6.7 .tar.gz"
5- sha256 "43d795f8beba0553d11a65ff6e8606ee1d877313f07dbd0722d630cdcccaf0bb "
4+ url "https://github.com/quantco/pixi-pack/archive/refs/tags/v0.7.1 .tar.gz"
5+ sha256 "02c9f66d35061ddfbd690a632aafe4415d451762b1e755010a8b33b81285f686 "
66 license "BSD-3-Clause"
77 head "https://github.com/quantco/pixi-pack.git" , branch : "main"
88
@@ -30,10 +30,12 @@ def install
3030 system "cargo" , "install" , *std_cargo_args
3131
3232 generate_completions_from_executable ( bin /"pixi-pack" , "completion" , "-s" )
33+ generate_completions_from_executable ( bin /"pixi-unpack" , "completion" , "-s" )
3334 end
3435
3536 test do
3637 assert_equal "pixi-pack #{ version } " , shell_output ( "#{ bin } /pixi-pack --version" ) . strip
38+ assert_equal "pixi-unpack #{ version } " , shell_output ( "#{ bin } /pixi-unpack --version" ) . strip
3739
3840 ( testpath /"pixi.lock" ) . write <<~YAML
3941 version: 6
@@ -43,16 +45,22 @@ def install
4345 - url: https://conda.anaconda.org/conda-forge/
4446 packages:
4547 linux-64:
46- - conda: https://conda.anaconda.org/conda-forge/linux-64/ca-certificates-2024.8.30-hbcca054_0.conda
48+ - conda: https://conda.anaconda.org/conda-forge/noarch/ca-certificates-2025.6.15-hbd8a1cb_0.conda
49+ linux-aarch64:
50+ - conda: https://conda.anaconda.org/conda-forge/noarch/ca-certificates-2025.6.15-hbd8a1cb_0.conda
51+ osx-64:
52+ - conda: https://conda.anaconda.org/conda-forge/noarch/ca-certificates-2025.6.15-hbd8a1cb_0.conda
53+ osx-arm64:
54+ - conda: https://conda.anaconda.org/conda-forge/noarch/ca-certificates-2025.6.15-hbd8a1cb_0.conda
4755 packages:
48- - conda: https://conda.anaconda.org/conda-forge/linux-64 /ca-certificates-2024.8.30-hbcca054_0 .conda
49- sha256: afee721baa6d988e27fef1832f68d6f32ac8cc99cdf6015732224c2841a09cea
50- md5: c27d1c142233b5bc9ca570c6e2e0c244
51- arch: x86_64
52- platform: linux
56+ - conda: https://conda.anaconda.org/conda-forge/noarch /ca-certificates-2025.6.15-hbd8a1cb_0 .conda
57+ sha256: 7cfec9804c84844ea544d98bda1d9121672b66ff7149141b8415ca42dfcd44f6
58+ md5: 72525f07d72806e3b639ad4504c30ce5
59+ depends:
60+ - __unix
5361 license: ISC
54- size: 159003
55- timestamp: 1725018903918
62+ size: 151069
63+ timestamp: 1749990087500
5664 YAML
5765
5866 ( testpath /"pixi.toml" ) . write <<~TOML
@@ -61,7 +69,10 @@ def install
6169 version = "0.1.0"
6270 TOML
6371
64- system bin /"pixi-pack" , "pack" , "--platform" , "linux-64"
72+ system bin /"pixi-pack"
6573 assert_path_exists testpath /"environment.tar"
74+ system bin /"pixi-unpack" , "environment.tar"
75+ assert_path_exists testpath /"env"
76+ assert_path_exists testpath /"activate.sh"
6677 end
6778end
0 commit comments