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;
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
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-07-24 18:56:01 -04:00
|
|
|
rosidl-generator-py = rosSuper.rosidl-generator-py.overrideAttrs ({
|
|
|
|
postPatch ? "", ...
|
|
|
|
}: let
|
|
|
|
python = rosSelf.python;
|
|
|
|
in {
|
|
|
|
# Fix finding NumPy headers
|
|
|
|
postPatch = postPatch + ''
|
|
|
|
substituteInPlace cmake/rosidl_generator_py_generate_interfaces.cmake \
|
|
|
|
--replace-fail '"import numpy"' "" \
|
|
|
|
--replace-fail 'numpy.get_include()' "'${python.pkgs.numpy}/${python.sitePackages}/numpy/core/include'"
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
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
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
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 {
|
|
|
|
url = "https://github.com/ros/urdfdom_headers/commit/6e0cea148c3a7123f8367cd48d5709a4490c32f1.patch";
|
|
|
|
hash = "sha256-LC2TACGma/k6+WE9fTkzY98SgJYKsVuj5O9v84Q5mQ4=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
|
|
|
}
|