1
0
Fork 0
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:
Ben Wolsieffer 2024-02-08 21:33:34 -05:00
parent 90614baa93
commit d0ed0ee339

View file

@ -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=";
};
});
});
};