1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/base.nix
Ben Wolsieffer 40ccc530bb Initial ROS 2 support.
The basic packages build, but there is no guarantee that they work correctly.
2019-09-05 22:47:17 -04:00

54 lines
1.6 KiB
Nix

self: super: with super.lib; let
pythonOverridesFor = python: python.override (old: {
packageOverrides = pySelf: pySuper: {
catkin-pkg = pySelf.callPackage ./catkin-pkg { };
colcon-cmake = pySelf.callPackage ./colcon/cmake.nix { };
colcon-core = pySelf.callPackage ./colcon/core.nix { };
colcon-library-path = pySelf.callPackage ./colcon/library-path.nix { };
colcon-pkg-config = pySelf.callPackage ./colcon/pkg-config.nix { };
colcon-python-setup-py = pySelf.callPackage ./colcon/python-setup-py.nix { };
colcon-recursive-crawl = pySelf.callPackage ./colcon/recursive-crawl.nix { };
colcon-ros = pySelf.callPackage ./colcon/ros.nix { };
colcon-test-result = pySelf.callPackage ./colcon/test-result.nix { };
empy = pySelf.callPackage ./empy { };
rosdep = pySelf.callPackage ./rosdep { };
rosdistro = pySelf.callPackage ./rosdistro { };
rosinstall = pySelf.callPackage ./rosinstall { };
rosinstall-generator = pySelf.callPackage ./rosinstall-generator { };
rospkg = pySelf.callPackage ./rospkg { };
vcstools = pySelf.callPackage ./vcstools { };
wstool = pySelf.callPackage ./wstool { };
};
});
in {
colcon = with self.python3Packages; colcon-core.withExtensions [
colcon-ros
];
openni2 = self.callPackage ./openni2 { };
opensplice = self.opensplice_6_9;
opensplice_6_9 = self.callPackage ./opensplice { };
python27 = pythonOverridesFor super.python27;
python36 = pythonOverridesFor super.python36;
python37 = pythonOverridesFor super.python37;
}