1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-19 16:40:36 +03:00
nix-ros-overlay/dashing/overrides.nix

46 lines
1.4 KiB
Nix
Raw Normal View History

# Top level package set
self:
# Distro package set
2019-12-08 00:00:12 -05:00
rosSelf: rosSuper: with rosSelf.lib; {
aws-common = (patchVendorUrl rosSuper.aws-common {
2019-09-10 00:11:13 -04:00
url = "https://github.com/aws/aws-sdk-cpp/archive/1.6.53.tar.gz";
originalUrl = "https://github.com/aws/aws-sdk-cpp/archive/\${AWSSDK_VERSION}.tar.gz";
sha256 = "0va0yxbjxa9sy2dlvfi0nm9d12jvr1d4dlp5vqr7i28jf0fjxjw0";
file = "awssdk/CMakeLists.txt";
}).overrideDerivation ({
cmakeFlags ? [],
postPatch ? "", ...
}: {
cmakeFlags = cmakeFlags ++ [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
postPatch = ''
sed 's#\(CMAKE_ARGS .*$\)#\1 -DCMAKE_INSTALL_LIBDIR=lib#' \
-i awssdk/CMakeLists.txt
'' + postPatch;
});
aws-ros2-common = rosSuper.aws-ros2-common.overrideAttrs ({
patches ? [], ...
}: {
patches = patches ++ [
(self.fetchpatch {
url = "https://github.com/aws-robotics/utils-ros2/commit/d782a734e5937134397592f9b5aa757353659362.patch";
sha256 = "01bgkd8wbnkcnhz9p88lhnpk0wdxg4lw8m48bplb7gv15pyahp1d";
stripLen = 1;
})
];
});
2019-09-06 23:35:08 -04:00
nav2-util = rosSuper.nav2-util.overrideAttrs ({
patches ? [], ...
}: {
patches = patches ++ [
(self.fetchpatch {
url = "https://github.com/ros-planning/navigation2/commit/b87942a3502af9e4b6ea7d6cf78a510f55539cc1.patch";
2019-09-06 23:41:35 -04:00
sha256 = "1mqjjywhcg0di7xlhy6jm4apya9m2i9168w4p79ff7fh1f4qn3jg";
stripLen = 1;
2019-09-06 23:35:08 -04:00
})
];
});
}