mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 01:42:24 +03:00
jsk-recognition-msgs: cleanup patching
* Move to ros1-overlay.nix * Link to upstream PRs * Use --replace-fail
This commit is contained in:
parent
a55d6a903b
commit
a76cac0463
2 changed files with 13 additions and 9 deletions
|
@ -65,15 +65,6 @@ let
|
|||
|
||||
image-cb-detector = patchBoostSignals rosSuper.image-cb-detector;
|
||||
|
||||
jsk-recognition-msgs = rosSuper.jsk-recognition-msgs.overrideAttrs ({
|
||||
buildInputs ? [], postPatch ? "", ...
|
||||
}: {
|
||||
buildInputs = buildInputs ++ [ rosSuper.ros-environment ];
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt --replace "catkin_python_setup()" ""
|
||||
'';
|
||||
});
|
||||
|
||||
laser-cb-detector = patchBoostSignals rosSuper.laser-cb-detector;
|
||||
|
||||
libfranka = rosSuper.libfranka.overrideAttrs ({
|
||||
|
|
|
@ -71,6 +71,19 @@ rosSelf: rosSuper: with rosSelf.lib; {
|
|||
sha256 = "0nryr4hg3lha1aaz35wbqr42lb6l8alfcy6slj2yn2dgb5syrmn2";
|
||||
};
|
||||
|
||||
jsk-recognition-msgs = rosSuper.jsk-recognition-msgs.overrideAttrs ({
|
||||
buildInputs ? [], postPatch ? "", ...
|
||||
}: {
|
||||
# Merged upstream
|
||||
# https://github.com/jsk-ros-pkg/jsk_recognition/pull/2836
|
||||
buildInputs = buildInputs ++ [ rosSelf.ros-environment ];
|
||||
# Part of upstream PR
|
||||
# https://github.com/jsk-ros-pkg/jsk_recognition/pull/2829
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt --replace-fail "catkin_python_setup()" ""
|
||||
'';
|
||||
});
|
||||
|
||||
libphidgets = patchVendorUrl rosSuper.libphidgets {
|
||||
url = "https://www.phidgets.com/downloads/phidget21/libraries/linux/libphidget/libphidget_2.1.8.20151217.tar.gz";
|
||||
sha256 = "0lpaskqxpklm05050wwvdqwhw30f2hpzss8sgyvczdpvvqzjg4vk";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue