Update every package to its newest upstream release/commit: - aionui 2.1.50 -> 2.2.2 - awg-tool 0.2.2 -> 0.3.0 - ds4 -> 0-unstable-2026-09-12 - freebuff 0.0.142 -> 0.0.174 - graphify 0.9.35 -> 0.9.61 - hipengine 0.3.0 -> 0.5.0 - mcp-gateway 3.4.0 -> 3.5.1 - omniroute 3.8.49 -> 3.8.50 - radar 1.9.1 -> 1.13.1 - relay-free-llm -> 0-unstable-2026-08-31 - traycer 1.1.10 -> 1.3.0 Refresh all source/dependency hashes (src, cargoHash, vendorHash, npmDepsHash, bun FODs) and keep treefmt clean. Packaging fixes required by the bumps: - graphify: relax the setuptools>=83 build-backend pin (nixpkgs ships setuptools 80.x; the PEP 639 metadata needs only >=77). - hipengine: add a llguidance 1.8.0 override (nixpkgs ships 1.7.x). - omniroute: use npmDepsFetcherVersion 2; the v1 fetcher drops packages whose lockfile entries lack resolved URLs, breaking npm's cache check. - radar: fix a frontend npmDepsHash/vendorHash swap from nix-update. Packages already at latest are untouched: container-use, desloppify, freetoken, kubernetes-mcp-server, loop, nftables-analyzer, nftablesbuilder, stakpak, haivemind, skillsmcp. llama-cpp stays pinned at b9645 and is tracked separately (manual HIP flag re-validation).
108 lines
2.4 KiB
Nix
108 lines
2.4 KiB
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
fetchurl,
|
|
makeWrapper,
|
|
}:
|
|
|
|
let
|
|
cerebras-cloud-sdk = python3Packages.buildPythonPackage rec {
|
|
pname = "cerebras-cloud-sdk";
|
|
version = "1.91.0";
|
|
pyproject = true;
|
|
|
|
src = fetchurl {
|
|
url = "https://files.pythonhosted.org/packages/0c/98/767ab62618be157b5fb21bce980ad5c8ebe155e32aff38521e511054e5c3/cerebras_cloud_sdk-1.91.0.tar.gz";
|
|
hash = "sha256-b0GT/sCIkR/+gpzlaCUQ+GEgzTUyyvToVAvzO1n9t+s=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
hatchling
|
|
hatch-fancy-pypi-readme
|
|
];
|
|
|
|
postPatch = ''
|
|
sed -i 's/hatchling==[0-9.]*/hatchling/' pyproject.toml
|
|
'';
|
|
|
|
dependencies = with python3Packages; [
|
|
anyio
|
|
distro
|
|
httpx
|
|
pydantic
|
|
sniffio
|
|
typing-extensions
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Python SDK for Cerebras AI platform";
|
|
homepage = "https://github.com/CerebrasAI/cerebras-cloud-sdk-python";
|
|
license = lib.licenses.asl20;
|
|
};
|
|
};
|
|
|
|
pyDeps = with python3Packages; [
|
|
fastapi
|
|
uvicorn
|
|
google-genai
|
|
cerebras-cloud-sdk
|
|
groq
|
|
mistralai
|
|
requests
|
|
python-dotenv
|
|
pydantic
|
|
httpx
|
|
];
|
|
in
|
|
python3Packages.buildPythonApplication {
|
|
pname = "relay-free-llm";
|
|
version = "0-unstable-2026-08-31";
|
|
format = "other";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "msmarkgu";
|
|
repo = "RelayFreeLLM";
|
|
rev = "9a1aabe1905ac1d6b3d48ac492089a0ea9668388";
|
|
hash = "sha256-DjHaskOW28g9BEI1TbMwuDgcEH4++VEMmXUzpqZ9KMc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
propagatedBuildInputs = pyDeps;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/lib/relay-free-llm
|
|
cp -r src $out/lib/relay-free-llm/
|
|
runHook postInstall
|
|
'';
|
|
|
|
postInstall = ''
|
|
makeWrapper ${python3Packages.python.interpreter} $out/bin/relay-free-llm \
|
|
--add-flags "-m src.server" \
|
|
--prefix PYTHONPATH : "$out/lib/relay-free-llm:$PYTHONPATH"
|
|
'';
|
|
|
|
doCheck = false;
|
|
|
|
passthru = {
|
|
category = "AI LLM Gateway";
|
|
updateScript = [
|
|
"nix-update"
|
|
"--flake"
|
|
".#relay-free-llm"
|
|
"--version=branch=main"
|
|
];
|
|
};
|
|
|
|
meta = {
|
|
description = "RESTful API to route user prompts to various AI model providers";
|
|
homepage = "https://github.com/msmarkgu/RelayFreeLLM";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "relay-free-llm";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|