16 inherit (orocos-kdl) version src;
18 sourceRoot = "${orocos-kdl.src.name}/python_orocos_kdl";
21 # Support system pybind11; the vendored copy doesn't support Python 3.11
23 url = "https://github.com/orocos/orocos_kinematics_dynamics/commit/e25a13fc5820dbca6b23d10506407bca9bcdd25f.patch";
24 hash = "sha256-NGMVGEYsa7hVX+SgRZgeSm93BqxFR1uiyFvzyF5H0Y4=";
29 # Fix hardcoded installation path
31 substituteInPlace CMakeLists.txt \
32 --replace dist-packages site-packages
43 propagatedBuildInputs = [ python ];
45 cmakeFlags = [ "-DPYTHON_EXECUTABLE=${lib.getExe python.pythonOnBuildForHost}" ];
48 description = "Kinematics and Dynamics Library (Python bindings)";
49 homepage = "https://www.orocos.org/kdl.html";
50 license = licenses.lgpl21Only;
51 maintainers = with maintainers; [ lopsided98 ];
52 platforms = platforms.all;