codex: 0.40.0 -> 0.41.0 (#445889)

authored by André Silva and committed by GitHub 57502129 f90d1371

+10 -3
+10 -3
pkgs/by-name/co/codex/package.nix
··· 4 rustPlatform, 5 fetchFromGitHub, 6 installShellFiles, 7 nix-update-script, 8 pkg-config, 9 openssl, 10 versionCheckHook, 11 installShellCompletions ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, 12 }: 13 rustPlatform.buildRustPackage (finalAttrs: { 14 pname = "codex"; 15 - version = "0.40.0"; 16 17 src = fetchFromGitHub { 18 owner = "openai"; 19 repo = "codex"; 20 tag = "rust-v${finalAttrs.version}"; 21 - hash = "sha256-IBYx362R2ueYNg7/vcjGa2kKAfGlPm6JcZ/A4XKtMT4="; 22 }; 23 24 sourceRoot = "${finalAttrs.src.name}/codex-rs"; 25 26 - cargoHash = "sha256-fWrZXXQfrm0L3epquDZUj0SuLRn3WiHX3nQA3d+xnUg="; 27 28 nativeBuildInputs = [ 29 installShellFiles 30 pkg-config 31 ]; 32 ··· 45 --bash <($out/bin/codex completion bash) \ 46 --fish <($out/bin/codex completion fish) \ 47 --zsh <($out/bin/codex completion zsh) 48 ''; 49 50 doInstallCheck = true;
··· 4 rustPlatform, 5 fetchFromGitHub, 6 installShellFiles, 7 + makeBinaryWrapper, 8 nix-update-script, 9 pkg-config, 10 openssl, 11 + ripgrep, 12 versionCheckHook, 13 installShellCompletions ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, 14 }: 15 rustPlatform.buildRustPackage (finalAttrs: { 16 pname = "codex"; 17 + version = "0.41.0"; 18 19 src = fetchFromGitHub { 20 owner = "openai"; 21 repo = "codex"; 22 tag = "rust-v${finalAttrs.version}"; 23 + hash = "sha256-Dz+RE3Ejr7BcJBJq5+UMP2Pb6v8A2intn3LzozoWovE="; 24 }; 25 26 sourceRoot = "${finalAttrs.src.name}/codex-rs"; 27 28 + cargoHash = "sha256-0sCmo3/3kY+nCufATBySAif5Z/T89Le0UedVgCrZiW8="; 29 30 nativeBuildInputs = [ 31 installShellFiles 32 + makeBinaryWrapper 33 pkg-config 34 ]; 35 ··· 48 --bash <($out/bin/codex completion bash) \ 49 --fish <($out/bin/codex completion fish) \ 50 --zsh <($out/bin/codex completion zsh) 51 + ''; 52 + 53 + postFixup = '' 54 + wrapProgram $out/bin/codex --prefix PATH : ${lib.makeBinPath [ ripgrep ]} 55 ''; 56 57 doInstallCheck = true;