nix-ros-overlay/base.nix

32 lines
849 B
Nix
Raw Normal View History

2019-03-21 00:23:14 -04:00
self: super: with super.lib; let
2019-03-11 22:15:02 -04:00
2019-03-21 00:23:14 -04:00
pythonOverridesFor = python: python.override (old: {
packageOverrides = pySelf: pySuper: {
catkin-pkg = pySelf.callPackage ./catkin-pkg { };
2019-03-11 22:15:02 -04:00
2019-03-21 00:23:14 -04:00
empy = pySelf.callPackage ./empy { };
rosdep = pySelf.callPackage ./rosdep { };
2019-03-11 22:15:02 -04:00
2019-03-21 00:23:14 -04:00
rosdistro = pySelf.callPackage ./rosdistro { };
rosinstall = pySelf.callPackage ./rosinstall { };
2019-03-11 22:15:02 -04:00
2019-03-21 00:23:14 -04:00
rosinstall-generator = pySelf.callPackage ./rosinstall-generator { };
2019-03-11 22:15:02 -04:00
2019-03-21 00:23:14 -04:00
rospkg = pySelf.callPackage ./rospkg { };
vcstools = pySelf.callPackage ./vcstools { };
wstool = pySelf.callPackage ./wstool { };
2019-03-11 22:15:02 -04:00
};
2019-03-21 00:23:14 -04:00
});
2019-03-11 22:15:02 -04:00
2019-03-21 00:23:14 -04:00
in {
openni2 = self.callPackage ./openni2 { };
2019-03-21 00:23:14 -04:00
python27 = pythonOverridesFor super.python27;
python36 = pythonOverridesFor super.python36;
python37 = pythonOverridesFor super.python37;
}