Loading pkgs/by-name/rt/rtk/package.nix 0 → 100644 +51 −0 Original line number Diff line number Diff line { lib, rustPlatform, fetchFromGitHub, pkg-config, sqlite, writableTmpDirAsHomeHook, versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "rtk"; version = "0.29.0"; src = fetchFromGitHub { owner = "rtk-ai"; repo = "rtk"; tag = "v${finalAttrs.version}"; hash = "sha256-QGHCa8rO4YBFXdrz78FhWKFxY7DmRxCXM8iYQv4yTYE="; }; strictDeps = true; cargoHash = "sha256-gNJjtQah7NFSgFVYJftK19dECzDvLCi2E33na2PtKmc="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ sqlite ]; nativeCheckInputs = [ writableTmpDirAsHomeHook ]; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; meta = { description = "CLI proxy that reduces LLM token consumption by 60-90% on common dev commands"; homepage = "https://github.com/rtk-ai/rtk"; changelog = "https://github.com/rtk-ai/rtk/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; mainProgram = "rtk"; }; }) Loading
pkgs/by-name/rt/rtk/package.nix 0 → 100644 +51 −0 Original line number Diff line number Diff line { lib, rustPlatform, fetchFromGitHub, pkg-config, sqlite, writableTmpDirAsHomeHook, versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "rtk"; version = "0.29.0"; src = fetchFromGitHub { owner = "rtk-ai"; repo = "rtk"; tag = "v${finalAttrs.version}"; hash = "sha256-QGHCa8rO4YBFXdrz78FhWKFxY7DmRxCXM8iYQv4yTYE="; }; strictDeps = true; cargoHash = "sha256-gNJjtQah7NFSgFVYJftK19dECzDvLCi2E33na2PtKmc="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ sqlite ]; nativeCheckInputs = [ writableTmpDirAsHomeHook ]; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; meta = { description = "CLI proxy that reduces LLM token consumption by 60-90% on common dev commands"; homepage = "https://github.com/rtk-ai/rtk"; changelog = "https://github.com/rtk-ai/rtk/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; mainProgram = "rtk"; }; })