python3Packages.robot-descriptions: init at 1.2.0

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
Guilhem Saurel 2025-07-30 14:13:37 +02:00
parent ce831d3f93
commit 812639ec00
2 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,64 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
gitpython,
tqdm,
# idyntree,
mujoco,
pinocchio,
pybullet,
pycollada,
# robomeshcat,
yourdfpy,
}:
buildPythonPackage rec {
pname = "robot-descriptions";
version = "1.20.0";
pyproject = true;
src = fetchFromGitHub {
owner = "robot-descriptions";
repo = "robot_descriptions.py";
tag = "v${version}";
hash = "sha256-8SBzhkENpUodnfObekkMPUsTQr/8mz27v3PK0S3IKO0=";
};
build-system = [
flit-core
];
dependencies = [
gitpython
tqdm
pycollada
];
optional-dependencies = {
opts = [
# idyntree
mujoco
pinocchio
pybullet
# robomeshcat
yourdfpy
];
};
pythonImportsCheck = [
"robot_descriptions"
];
# This package needs to download a lot of data at runtime
doCheck = false;
meta = {
description = "Access 125+ robot descriptions from the main Python robotics frameworks";
homepage = "https://github.com/robot-descriptions/robot_descriptions.py";
changelog = "https://github.com/robot-descriptions/robot_descriptions.py/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ nim65s ];
};
}

View File

@ -15754,6 +15754,8 @@ self: super: with self; {
robomachine = callPackage ../development/python-modules/robomachine { };
robot-descriptions = callPackage ../development/python-modules/robot-descriptions { };
robot-detection = callPackage ../development/python-modules/robot-detection { };
robotframework = callPackage ../development/python-modules/robotframework { };