mirror of
https://github.com/openai/codex.git
synced 2026-03-05 21:45:28 +03:00
Output hash for `rmcp-0.9.0` was missing from the nix package, (i.e. `error: No hash was found while vendoring the git dependency rmcp-0.9.0.`) blocking the build.
34 lines
805 B
Nix
34 lines
805 B
Nix
{
|
||
openssl,
|
||
rustPlatform,
|
||
pkg-config,
|
||
lib,
|
||
...
|
||
}:
|
||
rustPlatform.buildRustPackage (_: {
|
||
env = {
|
||
PKG_CONFIG_PATH = "${openssl.dev}/lib/pkgconfig:$PKG_CONFIG_PATH";
|
||
};
|
||
pname = "codex-rs";
|
||
version = "0.1.0";
|
||
cargoLock.lockFile = ./Cargo.lock;
|
||
doCheck = false;
|
||
src = ./.;
|
||
nativeBuildInputs = [
|
||
pkg-config
|
||
openssl
|
||
];
|
||
|
||
cargoLock.outputHashes = {
|
||
"ratatui-0.29.0" = "sha256-HBvT5c8GsiCxMffNjJGLmHnvG77A6cqEL+1ARurBXho=";
|
||
"crossterm-0.28.1" = "sha256-6qCtfSMuXACKFb9ATID39XyFDIEMFDmbx6SSmNe+728=";
|
||
"rmcp-0.9.0" = "sha256-0iPrpf0Ha/facO3p5e0hUKHBqGp/iS+C+OdS+pRKMOU=";
|
||
};
|
||
|
||
meta = with lib; {
|
||
description = "OpenAI Codex command‑line interface rust implementation";
|
||
license = licenses.asl20;
|
||
homepage = "https://github.com/openai/codex";
|
||
};
|
||
})
|