mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 21:50:38 +03:00
Override to use empy 3.3.4
Empy 4.0 has many breaking changes and is not supported by ROS. Fixes: #340
This commit is contained in:
parent
90614baa93
commit
d0ed0ee339
1 changed files with 12 additions and 1 deletions
|
@ -2,8 +2,19 @@
|
|||
self: super:
|
||||
let
|
||||
pythonOverridesFor = with self.lib; prevPython: prevPython // {
|
||||
pkgs = prevPython.pkgs.overrideScope (pyFinal: pyPrev: optionalAttrs pyPrev.isPy3k {
|
||||
pkgs = prevPython.pkgs.overrideScope (pyFinal: pyPrev: {
|
||||
wxPython = pyFinal.wxPython_4_2;
|
||||
|
||||
# ROS is not compatible with empy 4
|
||||
empy = pyPrev.empy.overrideAttrs ({
|
||||
pname, ...
|
||||
}: rec {
|
||||
version = "3.3.4";
|
||||
src = pyFinal.fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-c6xJeFtgFHnfTqGKfHm8EwSop8NMArlHLPEgauiPAbM=";
|
||||
};
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue