mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-17 14:18:53 +00:00
codex: 0.142.5 -> 0.144.1 (#539632)
This commit is contained in:
@@ -26,29 +26,34 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "codex";
|
||||
version = "0.142.5";
|
||||
version = "0.144.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openai";
|
||||
repo = "codex";
|
||||
tag = "rust-v${finalAttrs.version}";
|
||||
hash = "sha256-Ua1UVArTvjHcg3bPK1FYyShYiIUH3AOxtoUTvA4UZwU=";
|
||||
hash = "sha256-KHgrqIZyAmLhTZSRYbb7huBO8neOib/B1Vx/oPW2nEU=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/codex-rs";
|
||||
|
||||
cargoHash = "sha256-1gDiCB3Nf/0aIm+EoL3g9C0xbCi3cv6TfH5VytjJpOY=";
|
||||
cargoHash = "sha256-S4dsZXfmKvJItL2XYKyxfhqdCMATEG6oPjrtVRwkuYc=";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
# Match upstream's release build for the codex binary only.
|
||||
# Match upstream's release build for the codex binary, plus its
|
||||
# codex-code-mode-host runtime companion for out-of-process V8 execution.
|
||||
cargoBuildFlags = [
|
||||
"--package"
|
||||
"codex-cli"
|
||||
"--package"
|
||||
"codex-code-mode-host"
|
||||
];
|
||||
cargoCheckFlags = [
|
||||
"--package"
|
||||
"codex-cli"
|
||||
"--package"
|
||||
"codex-code-mode-host"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user