1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/dashing/overrides.nix

58 lines
1.8 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
})
];
});
2019-09-06 11:41:12 -04:00
rosidl-generator-py = rosSuper.rosidl-generator-py.overrideAttrs ({
patches ? [], ...
}: {
patches = patches ++ [
(self.fetchpatch {
url = "https://github.com/ros2/rosidl_python/commit/a7ce53c8922963439ba526f7f6c92dc0cc955c5f.patch";
sha256 = "0yal5mvhwxwkwzv5rlssfc4czck8zmcm36kwssypfwbkggc2700f";
stripLen = 1;
})
];
});
}