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
|
|
|
};
|
|
|
|
|
2024-07-06 22:48:54 +02:00
|
|
|
gz-cmake-vendor = lib.patchGzAmentVendorGit rosSuper.gz-cmake-vendor {
|
|
|
|
version = "3.5.3";
|
|
|
|
hash = "sha256-fnN3Fmp7F5W0JixJUEp2v/OnXzmRidS5ujmSYxIRWto=";
|
|
|
|
};
|
|
|
|
|
|
|
|
gz-common-vendor = (lib.patchGzAmentVendorGit rosSuper.gz-common-vendor {
|
|
|
|
version = "5.6.0";
|
|
|
|
hash = "sha256-vM+/V2F+Nr/LReqcMAmAbgAyaph/vMZVb0BO0MAUp6I=";
|
|
|
|
}).overrideAttrs ({
|
|
|
|
nativeBuildInputs ? [], ...
|
|
|
|
}: {
|
|
|
|
# https://github.com/gazebo-release/gz_common_vendor/pull/2
|
|
|
|
nativeBuildInputs = nativeBuildInputs ++ [ self.pkg-config ];
|
|
|
|
});
|
|
|
|
|
|
|
|
gz-dartsim-vendor = lib.patchAmentVendorGit rosSuper.gz-dartsim-vendor {
|
|
|
|
url = "https://github.com/dartsim/dart.git";
|
|
|
|
rev = "v6.13.2";
|
|
|
|
fetchgitArgs.hash = "sha256-AfKPqUiW6BsM98TIzTY2ZcFP1WvURs8/dGOzanIiB9g=";
|
|
|
|
};
|
|
|
|
|
|
|
|
gz-fuel-tools-vendor = lib.patchGzAmentVendorGit rosSuper.gz-fuel-tools-vendor {
|
|
|
|
version = "9.1.0";
|
|
|
|
hash = "sha256-txeIzj2vmvL5NDu6O07c7LwcCWE26OFEzvyc9TBrJAw=";
|
|
|
|
};
|
|
|
|
|
|
|
|
gz-gui-vendor = (lib.patchGzAmentVendorGit rosSuper.gz-gui-vendor {
|
|
|
|
version = "8.3.0";
|
|
|
|
hash = "sha256-V0zaL6qrd510hMECCr3/mMkyqf4yu2aaKLRZ6Rw0s/4=";
|
|
|
|
}).overrideAttrs ({
|
|
|
|
postInstall ? "", ...
|
|
|
|
}: {
|
|
|
|
# "RPATH of binary libGrid3D.so contains a forbidden reference to
|
|
|
|
# /build/" (see https://github.com/gazebosim/gz-gui/issues/627).
|
|
|
|
postInstall = postInstall + ''
|
2024-10-15 21:40:40 -04:00
|
|
|
${self.patchelf}/bin/patchelf --remove-rpath $out/lib64/gz-gui-8/plugins/libGrid3D.so
|
2024-07-06 22:48:54 +02:00
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
|
|
|
gz-launch-vendor = lib.patchGzAmentVendorGit rosSuper.gz-launch-vendor {
|
|
|
|
version = "7.1.0";
|
|
|
|
hash = "sha256-En3V8i/Ie8+KnSHGlm9Bap7REdLhYBaVHVbOM+/Pzno=";
|
|
|
|
};
|
|
|
|
|
|
|
|
gz-math-vendor = lib.patchGzAmentVendorGit rosSuper.gz-math-vendor {
|
|
|
|
version = "7.5.0";
|
|
|
|
hash = "sha256-TEadejtPCR3FAUbyAAME28tmqaxypPTJDYidjZ3FPIY=";
|
|
|
|
};
|
|
|
|
|
|
|
|
gz-msgs-vendor = lib.patchGzAmentVendorGit rosSuper.gz-msgs-vendor {
|
|
|
|
version = "10.3.0";
|
|
|
|
hash = "sha256-PQT8EpTxafldnKG3hDSXw2P22gLRg2EfMllrzaTaDEw=";
|
|
|
|
};
|
|
|
|
|
|
|
|
gz-ogre-next-vendor = (lib.patchAmentVendorGit rosSuper.gz-ogre-next-vendor {
|
|
|
|
url = "https://github.com/OGRECave/ogre-next.git";
|
|
|
|
rev = "v2.3.3";
|
|
|
|
fetchgitArgs.hash = "sha256-elSj35LwsLzj1ssDPsk9NW/KSXfiOGYmw9hQSAWdpFM=";
|
|
|
|
}).overrideAttrs({ ... }: {
|
|
|
|
dontFixCmake = true;
|
|
|
|
});
|
|
|
|
|
|
|
|
gz-physics-vendor = lib.patchGzAmentVendorGit rosSuper.gz-physics-vendor {
|
|
|
|
version = "7.3.0";
|
|
|
|
hash = "sha256-PTalEQc9C/QsYMO+XK7aOzZUzC01jxiW6bjdItB5hlM=";
|
|
|
|
};
|
|
|
|
|
|
|
|
gz-plugin-vendor = lib.patchGzAmentVendorGit rosSuper.gz-plugin-vendor {
|
|
|
|
version = "2.0.3";
|
|
|
|
hash = "sha256-9t6vcnBbfRWu6ptmqYAhmWKDoKAaK631JD9u1C0G0mY=";
|
|
|
|
};
|
|
|
|
|
|
|
|
gz-rendering-vendor = lib.patchGzAmentVendorGit rosSuper.gz-rendering-vendor {
|
|
|
|
version = "8.2.0";
|
|
|
|
hash = "sha256-eaWkZKHu566Rub7YSO2lnKdj8YQbhl86v+JR4zrgtjs=";
|
|
|
|
};
|
|
|
|
|
|
|
|
gz-sensors-vendor = lib.patchGzAmentVendorGit rosSuper.gz-sensors-vendor {
|
|
|
|
version = "8.2.0";
|
|
|
|
hash = "sha256-j/8kS+Bvaim2gtsZcp+/u8CAE+N24/5qZhciFR0Q8+M=";
|
|
|
|
};
|
|
|
|
|
|
|
|
gz-sim-vendor = lib.patchGzAmentVendorGit rosSuper.gz-sim-vendor {
|
|
|
|
version = "8.6.0";
|
|
|
|
hash = "sha256-zSiPHEh3h2J8hGL342tde5U9FLaGnWs72WD9BqyPf6E=";
|
|
|
|
};
|
|
|
|
|
2024-09-20 00:13:03 +02:00
|
|
|
gz-tools-vendor = (lib.patchGzAmentVendorGit rosSuper.gz-tools-vendor {
|
2024-07-06 22:48:54 +02:00
|
|
|
version = "2.0.1";
|
|
|
|
hash = "sha256-sV/T53oVk1fgjwqn/SRTaPTukt+vAlGGxGvTN8+G6Mo=";
|
2024-09-20 00:13:03 +02:00
|
|
|
}).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
|
|
|
|
|
|
|
gz-transport-vendor = lib.patchGzAmentVendorGit rosSuper.gz-transport-vendor {
|
|
|
|
version = "13.4.0";
|
|
|
|
hash = "sha256-2Akd3vKr07IdgoJppvUV1nZlHE4RdQfI2R18ihHTDHk=";
|
|
|
|
};
|
|
|
|
|
|
|
|
gz-utils-vendor = lib.patchGzAmentVendorGit rosSuper.gz-utils-vendor {
|
|
|
|
version = "2.2.0";
|
|
|
|
hash = "sha256-dNoDOZtk/zseHuOM5mOPHkXKU7wqxxKrFnh7e09bjRA=";
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
rviz-ogre-vendor = lib.patchAmentVendorGit rosSuper.rviz-ogre-vendor {
|
|
|
|
url = "https://github.com/OGRECave/ogre.git";
|
|
|
|
rev = "v1.12.10";
|
|
|
|
fetchgitArgs.hash = "sha256-Z0ixdSmkV93coBBVZ5R3lPLfVMXRfWsFz/RsSyqPWFY=";
|
|
|
|
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=";
|
|
|
|
};
|
|
|
|
|
2024-07-06 22:48:54 +02:00
|
|
|
sdformat-vendor = lib.patchGzAmentVendorGit rosSuper.sdformat-vendor {
|
|
|
|
version = "14.5.0";
|
|
|
|
hash = "sha256-nGBLnQP0TTKDVbYGyx23Fcs79UCJveajsll2LvyLJwQ=";
|
|
|
|
};
|
|
|
|
|
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
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
|
|
|
}
|