chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:39:12 +08:00
commit d8dcd5f6d1
8604 changed files with 2479390 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
{
description = "OmniRoute - Unified AI router with 160+ providers";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
nodejs = pkgs.nodejs_22;
in
{
devShells.default = pkgs.mkShell {
buildInputs = [
nodejs
];
shellHook = ''
echo "Welcome to OmniRoute dev environment"
export PATH="$PWD/node_modules/.bin:$PATH"
# Install dependencies if node_modules doesn't exist
if [ ! -d "node_modules" ]; then
echo "Installing dependencies..."
npm install
fi
'';
};
}
);
}