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