-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.nix
45 lines (40 loc) · 1.01 KB
/
package.nix
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
{
cmake,
lib,
pkg-config,
python3Packages,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "example-parallel-robots";
version = "0-unstable-2024-10-02";
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./CMakeLists.txt
./example_parallel_robots
./package.xml
./robots
./unittest
];
};
cmakeFlags = [
(lib.cmakeBool "BUILD_BENCHMARK" false)
(lib.cmakeBool "BUILD_DOCUMENTATION" false)
(lib.cmakeBool "BUILD_EXAMPLES" false)
(lib.cmakeBool "BUILD_TESTING" false)
(lib.cmakeBool "GENERATE_PYTHON_STUBS" false)
];
nativeBuildInputs = [
cmake
pkg-config
];
propagatedBuildInputs = [ python3Packages.pinocchio ];
meta = {
description = "Set of parallel robot models for general use in benchmarks and examples";
homepage = "https://github.com/gepetto/example-parallel-robots";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ nim65s ];
platforms = lib.platforms.unix;
};
}