mirror of
https://github.com/logos-co/logos-evm-wallet-backend-module.git
synced 2026-08-27 12:11:11 +00:00
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
42 lines
1.6 KiB
Nix
42 lines
1.6 KiB
Nix
{
|
|
description = "Logos wallet backend module — coordinator + tx builder (multi-chain balances via Multicall3, send orchestration, local history).";
|
|
|
|
inputs = {
|
|
logos-module-builder.url = "github:logos-co/logos-module-builder";
|
|
|
|
# Dependency modules. Their published `.lidl` contracts drive the generated
|
|
# `modules().<dep>` typed clients. The `follows` makes each dependency use the
|
|
# SAME module-builder as this module (so `codegen.rust.source` is supported).
|
|
# In the workspace these resolve via `follows`/`--override-input` to the local
|
|
# checkouts; standalone they build once the dependency repos' default branches
|
|
# carry this code.
|
|
eth_rpc_module = {
|
|
url = "github:logos-co/logos-evm-eth-rpc-module";
|
|
inputs.logos-module-builder.follows = "logos-module-builder";
|
|
};
|
|
keystore_module = {
|
|
url = "github:logos-co/logos-evm-keystore-module";
|
|
inputs.logos-module-builder.follows = "logos-module-builder";
|
|
};
|
|
token_list_module = {
|
|
url = "github:logos-co/logos-evm-token-list-module";
|
|
inputs.logos-module-builder.follows = "logos-module-builder";
|
|
};
|
|
};
|
|
|
|
outputs = inputs@{ self, logos-module-builder, ... }:
|
|
let
|
|
nixpkgs = logos-module-builder.inputs.nixpkgs;
|
|
systems = [ "aarch64-darwin" "x86_64-darwin" "aarch64-linux" "x86_64-linux" ];
|
|
forAllSystems = f: nixpkgs.lib.genAttrs systems f;
|
|
in
|
|
{
|
|
packages = forAllSystems (system:
|
|
(logos-module-builder.lib.mkLogosModule {
|
|
src = ./.;
|
|
configFile = ./metadata.json;
|
|
flakeInputs = inputs;
|
|
}).packages.${system});
|
|
};
|
|
}
|