mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 02:34:50 +03:00
Fix mavlink.
This commit is contained in:
parent
9634117c07
commit
f0d16c56c6
2 changed files with 18 additions and 0 deletions
4
base.nix
4
base.nix
|
@ -35,6 +35,10 @@ self: super: with super.lib; let
|
|||
vcstools = pySelf.callPackage ./vcstools { };
|
||||
|
||||
wstool = pySelf.callPackage ./wstool { };
|
||||
} // optionalAttrs pySuper.isPy3k {
|
||||
# This has to be done here (rather than in rosPackages) because
|
||||
# packageOverrides doesn't compose
|
||||
wxPython = pySelf.wxPython_4_0;
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
@ -142,6 +142,20 @@ let
|
|||
nativeBuildInputs = nativeBuildInputs ++ [ self.pkgconfig ];
|
||||
});
|
||||
|
||||
mavlink = rosSuper.mavlink.overrideAttrs ({
|
||||
patches ? [], postPatch ? "", ...
|
||||
}: {
|
||||
patches = patches ++ [ (self.fetchpatch {
|
||||
url = "https://github.com/mavlink/mavlink-gbp-release/commit/026cc233ede704a9ef6a662df09f567325994e4e.patch";
|
||||
sha256 = "1570pspscpi94fx4slx6vgyzy51q0jdndr7g8gl381zirb2i1zmj";
|
||||
stripLen = 1;
|
||||
}) ];
|
||||
postPatch = postPatch + ''
|
||||
substituteInPlace CMakeLists.txt --replace /usr/bin/env '${self.coreutils}/bin/env'
|
||||
patchShebangs pymavlink/tools/mavgen.py
|
||||
'';
|
||||
});
|
||||
|
||||
message-filters = patchBoostSignals rosSuper.message-filters;
|
||||
|
||||
message-relay = rosSuper.message-relay.overrideAttrs ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue