1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
gitpython,
tqdm,
# idyntree,
mujoco,
pinocchio,
pybullet,
pycollada,
# robomeshcat,
yourdfpy,
}:
buildPythonPackage rec {
pname = "robot-descriptions";
version = "1.22.0";
pyproject = true;
src = fetchFromGitHub {
owner = "robot-descriptions";
repo = "robot_descriptions.py";
tag = "v${version}";
hash = "sha256-4O2mAkO/2xc9cAq55DMdyCzdEwMzAo5uStJwS3rQdws=";
};
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 ];
};
}
|