zhouqh's picture
Upload folder using huggingface_hub
33956db verified
Raw
History Blame Contribute Delete
1.52 kB
{
description = "Set of robot URDFs for benchmarking and developed examples";
inputs = {
gepetto.url = "github:gepetto/nix";
flakoboros.follows = "gepetto/flakoboros";
gazebros2nix.follows = "gepetto/gazebros2nix";
flake-parts.follows = "gepetto/flake-parts";
nixpkgs.follows = "gepetto/nixpkgs";
systems.follows = "gepetto/systems";
treefmt-nix.follows = "gepetto/treefmt-nix";
};
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } (
{ lib, ... }:
{
systems = import inputs.systems;
imports = [
inputs.gepetto.flakeModule
{
flakoboros = {
extraPythonModules = [
"meshcat"
"pinocchio"
"viser"
];
# don't trigger a pinocchio rebuild by overriding example-robot-data
pyOverrides.example-robot-data = _: _: { buildStandalone = false; };
pyOverrideAttrs.example-robot-data = _: _: {
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./CMakeLists.txt
./colcon.pkg
./include
./package.xml
./pyproject.toml
./python
./robots
./unittest
];
};
};
};
}
];
}
);
}