-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefault.nix
47 lines (42 loc) · 972 Bytes
/
default.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
46
47
{
lib,
stdenv,
cmake,
eigen,
python3Packages,
rosPackages,
}:
stdenv.mkDerivation {
pname = "agimus-msgs";
version = "0.0.2";
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./CMakeLists.txt
./msg
./package.xml
];
};
nativeBuildInputs = [
cmake
eigen
python3Packages.python
rosPackages.humble.ament-cmake
rosPackages.humble.rosidl-default-generators
];
propagatedBuildInputs = [
rosPackages.humble.rosidl-typesupport-c
rosPackages.humble.rosidl-typesupport-introspection-c
rosPackages.humble.rosidl-runtime-py
rosPackages.humble.sensor-msgs
rosPackages.humble.std-msgs
];
doCheck = true;
meta = {
description = "ROS messages of the agimus-project.";
homepage = "https://github.com/agimus-project/agimus-msgs";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.nim65s ];
platforms = lib.platforms.linux;
};
}