···3 stdenv,
4 rustPlatform,
5 fetchFromGitHub,
06 installShellFiles,
7 nix-update-script,
8 pkg-config,
···12}:
13rustPlatform.buildRustPackage (finalAttrs: {
14 pname = "codex";
15+ version = "0.27.0";
1617 src = fetchFromGitHub {
18 owner = "openai";
19 repo = "codex";
20 tag = "rust-v${finalAttrs.version}";
21+ hash = "sha256-vsZmHkph2rrb0K+ZRymweRculh+SIASCJCRP3V09hKU=";
22 };
2324 sourceRoot = "${finalAttrs.src.name}/codex-rs";
···3233 buildInputs = [ openssl ];
3435+ # NOTE: part of the test suite requires access to networking, local shells,
36+ # apple system configuration, etc. since this is a very fast moving target
37+ # (for now), with releases happening every other day, constantly figuring out
38+ # which tests need to be skipped, or finding workarounds, was too burdensome,
39+ # and in practice not adding any real value. this decision may be reversed in
40+ # the future once this software stabilizes.
41+ doCheck = false;
00000000000000000000000000000000000000000000004243 postInstall = lib.optionalString installShellCompletions ''
44 installShellCompletion --cmd codex \