Skip to content

Commit

Permalink
noetic: turtlebot3-teleop: add distutils dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
lopsided98 committed Nov 15, 2024
1 parent 83714f3 commit 8e6a156
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions distros/noetic/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ self:
# Distro package set
rosSelf: rosSuper: with rosSelf.lib; {

angles = rosSuper.angles.overrideAttrs({
angles = rosSuper.angles.overrideAttrs ({
nativeBuildInputs ? [], ...
}: {
# distutils was removed from standard library in Python 3.12
Expand Down Expand Up @@ -35,7 +35,7 @@ rosSelf: rosSuper: with rosSelf.lib; {
nativeBuildInputs = nativeBuildInputs ++ [ self.pkg-config ];
});

laser-geometry = rosSuper.laser-geometry.overrideAttrs({
laser-geometry = rosSuper.laser-geometry.overrideAttrs ({
nativeBuildInputs ? [], ...
}: {
# distutils was removed from standard library in Python 3.12
Expand Down Expand Up @@ -129,7 +129,7 @@ rosSelf: rosSuper: with rosSelf.lib; {
}) ];
});

ros-numpy = rosSuper.ros-numpy.overrideAttrs({
ros-numpy = rosSuper.ros-numpy.overrideAttrs ({
nativeBuildInputs ? [], ...
}: {
# distutils was removed from standard library in Python 3.12
Expand All @@ -141,14 +141,14 @@ rosSelf: rosSuper: with rosSelf.lib; {
sha256 = "sha256-zOtMuTZuGKV0ISjLNSTOX1Doi0dvHlRzekf/3030yZY=";
};

roslint = rosSuper.roslint.overrideAttrs({
roslint = rosSuper.roslint.overrideAttrs ({
nativeBuildInputs ? [], ...
}: {
# distutils was removed from standard library in Python 3.12
nativeBuildInputs = nativeBuildInputs ++ [ rosSelf.python3Packages.distutils ];
});

rosserial-python = rosSuper.rosserial-python.overrideAttrs({
rosserial-python = rosSuper.rosserial-python.overrideAttrs ({
nativeBuildInputs ? [], ...
}: {
# distutils was removed from standard library in Python 3.12
Expand All @@ -168,4 +168,11 @@ rosSelf: rosSuper: with rosSelf.lib; {
substituteInPlace CMakeLists.txt --replace-fail " -Werror" ""
'';
});

turtlebot3-teleop = rosSuper.turtlebot3-teleop.overrideAttrs ({
nativeBuildInputs ? [], ...
}: {
# distutils was removed from standard library in Python 3.12
nativeBuildInputs = nativeBuildInputs ++ [ rosSelf.python3Packages.distutils ];
});
}

0 comments on commit 8e6a156

Please sign in to comment.