2024-05-24 08:00:41 +02:00
|
|
|
# Top level package set
|
|
|
|
self:
|
|
|
|
# Distro package set
|
|
|
|
rosSelf: rosSuper: let
|
|
|
|
inherit (rosSelf) lib;
|
|
|
|
in {
|
|
|
|
cyclonedds = rosSuper.cyclonedds.overrideAttrs ({
|
|
|
|
patches ? [], ...
|
|
|
|
}: {
|
|
|
|
patches = [
|
|
|
|
# Fix paths in pkg-config file
|
|
|
|
# https://github.com/eclipse-cyclonedds/cyclonedds/pull/1453
|
|
|
|
(self.fetchpatch {
|
|
|
|
url = "https://github.com/eclipse-cyclonedds/cyclonedds/commit/3ff967e32b8078d497a8b9c70735849c04eaebf6.patch";
|
|
|
|
hash = "sha256-F5zofoO0YbYfqLrb6s30un9k9+R8rQazLHw+uND1UxE=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
2024-07-23 22:22:37 -04:00
|
|
|
foonathan-memory-vendor = lib.patchExternalProjectGit rosSuper.foonathan-memory-vendor {
|
|
|
|
url = "https://github.com/foonathan/memory.git";
|
|
|
|
rev = "v0.7-3";
|
|
|
|
fetchgitArgs.hash = "sha256-nLBnxPbPKiLCFF2TJgD/eJKJJfzktVBW3SRW2m3WK/s=";
|
|
|
|
};
|
|
|
|
|
2024-05-24 08:00:41 +02:00
|
|
|
gazebo = self.gazebo_11;
|
|
|
|
|
2024-11-15 14:03:51 -05:00
|
|
|
geometric-shapes = rosSuper.geometric-shapes.overrideAttrs({
|
|
|
|
postPatch ? "", ...
|
|
|
|
}: {
|
|
|
|
# Remove workaround for Ubuntu-specific dependency hell issue
|
|
|
|
postPatch = postPatch + ''
|
|
|
|
substituteInPlace CMakeLists.txt --replace-fail \
|
|
|
|
'find_package(octomap 1.9.7...<1.10.0 REQUIRED)' \
|
|
|
|
'find_package(octomap REQUIRED)'
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2024-05-24 08:00:41 +02:00
|
|
|
google-benchmark-vendor = lib.patchExternalProjectGit rosSuper.google-benchmark-vendor {
|
|
|
|
url = "https://github.com/google/benchmark.git";
|
2024-07-23 22:22:37 -04:00
|
|
|
rev = "344117638c8ff7e239044fd0fa7085839fc03021";
|
|
|
|
fetchgitArgs.hash = "sha256-gztnxui9Fe/FTieMjdvfJjWHjkImtlsHn6fM1FruyME=";
|
2024-05-24 08:00:41 +02:00
|
|
|
};
|
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-cmake-vendor = lib.patchGzAmentVendorGit rosSuper.gz-cmake-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-common-vendor = (lib.patchGzAmentVendorGit rosSuper.gz-common-vendor { }).overrideAttrs ({
|
2024-07-06 22:48:54 +02:00
|
|
|
nativeBuildInputs ? [], ...
|
|
|
|
}: {
|
|
|
|
# https://github.com/gazebo-release/gz_common_vendor/pull/2
|
|
|
|
nativeBuildInputs = nativeBuildInputs ++ [ self.pkg-config ];
|
|
|
|
});
|
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-dartsim-vendor = lib.patchAmentVendorGit rosSuper.gz-dartsim-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-fuel-tools-vendor = lib.patchGzAmentVendorGit rosSuper.gz-fuel-tools-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-gui-vendor = (lib.patchGzAmentVendorGit rosSuper.gz-gui-vendor { }).overrideAttrs ({
|
2024-07-06 22:48:54 +02:00
|
|
|
postInstall ? "", ...
|
|
|
|
}: {
|
|
|
|
# "RPATH of binary libGrid3D.so contains a forbidden reference to
|
|
|
|
# /build/" (see https://github.com/gazebosim/gz-gui/issues/627).
|
|
|
|
postInstall = postInstall + ''
|
2025-03-01 19:50:10 +01:00
|
|
|
${self.patchelf}/bin/patchelf --remove-rpath $out/lib*/gz-gui-8/plugins/libGrid3D.so
|
2024-07-06 22:48:54 +02:00
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-launch-vendor = lib.patchGzAmentVendorGit rosSuper.gz-launch-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-math-vendor = lib.patchGzAmentVendorGit rosSuper.gz-math-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-msgs-vendor = lib.patchGzAmentVendorGit rosSuper.gz-msgs-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-ogre-next-vendor = (lib.patchAmentVendorGit rosSuper.gz-ogre-next-vendor { }).overrideAttrs({ ... }: {
|
2024-07-06 22:48:54 +02:00
|
|
|
dontFixCmake = true;
|
|
|
|
});
|
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-physics-vendor = lib.patchGzAmentVendorGit rosSuper.gz-physics-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-plugin-vendor = lib.patchGzAmentVendorGit rosSuper.gz-plugin-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-rendering-vendor = lib.patchGzAmentVendorGit rosSuper.gz-rendering-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-sensors-vendor = lib.patchGzAmentVendorGit rosSuper.gz-sensors-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-sim-vendor = lib.patchGzAmentVendorGit rosSuper.gz-sim-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-tools-vendor = (lib.patchGzAmentVendorGit rosSuper.gz-tools-vendor { }).overrideAttrs({
|
2024-10-15 21:40:40 -04:00
|
|
|
nativeBuildInputs ? [],
|
|
|
|
propagatedNativeBuildInputs ? [],
|
|
|
|
qtWrapperArgs ? [],
|
|
|
|
postFixup ? "", ...
|
2024-09-20 00:13:03 +02:00
|
|
|
}: {
|
|
|
|
nativeBuildInputs = nativeBuildInputs ++ [ self.qt5.wrapQtAppsHook ];
|
2024-10-15 21:40:40 -04:00
|
|
|
propagatedNativeBuildInputs = propagatedNativeBuildInputs ++ [
|
|
|
|
self.qt5.qtquickcontrols2
|
|
|
|
self.qt5.qtgraphicaleffects
|
|
|
|
self.pkg-config
|
|
|
|
];
|
2024-09-20 00:13:03 +02:00
|
|
|
qtWrapperArgs = qtWrapperArgs ++ [
|
2024-10-15 21:40:40 -04:00
|
|
|
# Gazebo is currently broken on Wayland
|
|
|
|
# https://gazebosim.org/docs/ionic/troubleshooting/#wayland-issues
|
2024-09-20 00:13:03 +02:00
|
|
|
"--set-default QT_QPA_PLATFORM xcb"
|
|
|
|
];
|
|
|
|
postFixup = postFixup + ''
|
2024-10-15 21:40:40 -04:00
|
|
|
wrapQtApp "$out/bin/gz"
|
2024-09-20 00:13:03 +02:00
|
|
|
'';
|
|
|
|
});
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-transport-vendor = (lib.patchGzAmentVendorGit rosSuper.gz-transport-vendor { }).overrideAttrs({
|
2024-12-24 12:44:57 +03:00
|
|
|
buildInputs ? [], ...
|
|
|
|
}: {
|
|
|
|
buildInputs = buildInputs ++ [ self.libsodium ];
|
|
|
|
});
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
gz-utils-vendor = lib.patchGzAmentVendorGit rosSuper.gz-utils-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2024-05-24 08:00:41 +02:00
|
|
|
iceoryx-hoofs = rosSuper.iceoryx-hoofs.overrideAttrs ({
|
|
|
|
patches ? [], ...
|
|
|
|
}: {
|
|
|
|
patches = patches ++ [
|
|
|
|
(self.fetchpatch {
|
|
|
|
url = "https://github.com/eclipse-iceoryx/iceoryx/commit/acc1e979a2d5ca30737efb077b00b42f1c4a8429.patch";
|
|
|
|
hash = "sha256-npFHdb0a3JBA8T6vke54DA08C93aNc/7c6xrfMBo7zI=";
|
|
|
|
stripLen = 1;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
lely-core-libraries = lib.patchExternalProjectGit rosSuper.lely-core-libraries {
|
|
|
|
url = "https://gitlab.com/lely_industries/lely-core.git";
|
2024-07-23 22:22:37 -04:00
|
|
|
rev = "b63a0b6f79d3ea91dc221724b42dae49894449fc";
|
2024-05-24 08:00:41 +02:00
|
|
|
fetchgitArgs = {
|
2024-07-23 22:22:37 -04:00
|
|
|
hash = "sha256-x9JCU2Ryssq424n90IzVOxixnvsoYTukyCOL3zNbwt4=";
|
2024-05-24 08:00:41 +02:00
|
|
|
leaveDotGit = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
libphidget22 = lib.patchVendorUrl rosSuper.libphidget22 {
|
|
|
|
url = "https://www.phidgets.com/downloads/phidget22/libraries/linux/libphidget22/libphidget22-1.19.20240304.tar.gz";
|
|
|
|
hash = "sha256-GpzGMpQ02s/X/XEcGoozzMjigrbqvAu81bcb7QG+36E=";
|
|
|
|
};
|
|
|
|
|
2024-07-06 11:21:15 -04:00
|
|
|
mcap-vendor = lib.patchVendorUrl rosSuper.mcap-vendor {
|
|
|
|
url = "https://github.com/foxglove/mcap/archive/refs/tags/releases/cpp/v1.3.0.tar.gz";
|
|
|
|
hash = "sha256-Qaz26F11VWxkQH8HfgVJLTHbHwmeByQu8ENkuyk5rPE=";
|
2024-05-24 08:00:41 +02:00
|
|
|
};
|
|
|
|
|
2024-11-15 14:19:01 -05:00
|
|
|
moveit-core = rosSuper.moveit-core.overrideAttrs ({
|
|
|
|
postPatch ? "", ...
|
|
|
|
}: {
|
|
|
|
# Remove workaround for Ubuntu-specific dependency hell issue
|
|
|
|
postPatch = postPatch + ''
|
|
|
|
substituteInPlace CMakeLists.txt --replace-fail \
|
|
|
|
'find_package(octomap 1.9.7...<1.10.0 REQUIRED)' \
|
|
|
|
'find_package(octomap REQUIRED)'
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
|
|
|
moveit-ros-occupancy-map-monitor = rosSuper.moveit-ros-occupancy-map-monitor.overrideAttrs ({
|
|
|
|
postPatch ? "", ...
|
|
|
|
}: {
|
|
|
|
# Remove workaround for Ubuntu-specific dependency hell issue
|
|
|
|
postPatch = postPatch + ''
|
|
|
|
substituteInPlace CMakeLists.txt --replace-fail \
|
|
|
|
'find_package(octomap 1.9.7...<1.10.0 REQUIRED)' \
|
|
|
|
'find_package(octomap REQUIRED)'
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2024-05-24 08:00:41 +02:00
|
|
|
rviz-ogre-vendor = lib.patchAmentVendorGit rosSuper.rviz-ogre-vendor {
|
|
|
|
tarSourceArgs.hook = let
|
|
|
|
version = "1.79";
|
|
|
|
imgui = self.fetchFromGitHub rec {
|
|
|
|
name = "${repo}-${version}";
|
|
|
|
owner = "ocornut";
|
|
|
|
repo = "imgui";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-GIVhZ8Q7WebfHeKeJdVABXrTT26FOS7updncbv2LRnQ=";
|
|
|
|
};
|
|
|
|
imguiTar = lib.tarSource { } imgui;
|
|
|
|
in ''
|
|
|
|
substituteInPlace Components/Overlay/CMakeLists.txt \
|
2024-07-21 17:16:34 -04:00
|
|
|
--replace-fail ${lib.escapeShellArg imgui.url} file://${lib.escapeShellArg imguiTar}
|
2024-05-24 08:00:41 +02:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2024-10-22 17:35:04 +02:00
|
|
|
rviz-rendering = rosSuper.rviz-rendering.overrideAttrs ({
|
|
|
|
postPatch ? "", ...
|
|
|
|
}: {
|
|
|
|
postPatch = postPatch + ''
|
|
|
|
substituteInPlace src/rviz_rendering/render_system.cpp \
|
|
|
|
--replace-fail /opt/rviz_ogre_vendor ""
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2024-08-08 11:45:24 +02:00
|
|
|
shared-queues-vendor = lib.patchVendorUrl rosSuper.shared-queues-vendor {
|
|
|
|
url = "https://github.com/cameron314/readerwriterqueue/archive/ef7dfbf553288064347d51b8ac335f1ca489032a.zip";
|
|
|
|
sha256 = "sha256-TyFt3d78GidhDGD17KgjAaZl/qvAcGJP8lmu4EOxpYg=";
|
|
|
|
};
|
|
|
|
|
2025-02-23 12:13:03 +01:00
|
|
|
sdformat-vendor = lib.patchGzAmentVendorGit rosSuper.sdformat-vendor { };
|
2024-07-06 22:48:54 +02:00
|
|
|
|
2024-05-24 08:00:41 +02:00
|
|
|
urdfdom = rosSuper.urdfdom.overrideAttrs ({
|
|
|
|
patches ? [], ...
|
|
|
|
}: {
|
|
|
|
patches = patches ++ [
|
|
|
|
# Fix CMake relative install dir assumptions
|
|
|
|
# https://github.com/ros/urdfdom/pull/142
|
|
|
|
(self.fetchpatch {
|
|
|
|
url = "https://github.com/ros/urdfdom/commit/61a7e35cd5abece97259e76aed8504052b2f5b53.patch";
|
|
|
|
hash = "sha256-b3bEbbaSUDkwTEHJ8gVPEb+AR/zuWwLqiAW5g1T1dPU=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
urdfdom-headers = rosSuper.urdfdom-headers.overrideAttrs ({
|
|
|
|
patches ? [], ...
|
|
|
|
}: {
|
|
|
|
patches = patches ++ [
|
|
|
|
# Fix CMake relative install dir assumptions
|
|
|
|
# https://github.com/ros/urdfdom_headers/pull/66
|
|
|
|
(self.fetchpatch {
|
2024-10-14 21:45:27 -04:00
|
|
|
url = "https://github.com/ros/urdfdom_headers/commit/fa89f2d4744839827f41579004537c966a097681.patch";
|
|
|
|
hash = "sha256-w6PPKCpbR4dGsudVEz+SO9ylXVayLPRAl3VvpMt4DHo=";
|
2024-05-24 08:00:41 +02:00
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
|
|
|
}
|