Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
727 B · 26 lines
Nix
at litex
123456789101112131415161718192021222324252627{ lib, stdenv, toPythonModule, cmake, orocos-kdl, eigen, python }:
toPythonModule (stdenv.mkDerivation { pname = "pykdl"; inherit (orocos-kdl) version src;
sourceRoot = "source/python_orocos_kdl";
# Fix hardcoded installation path postPatch = '' substituteInPlace CMakeLists.txt \ --replace dist-packages site-packages '';
nativeBuildInputs = [ cmake ]; buildInputs = [ orocos-kdl eigen ]; propagatedBuildInputs = [ python ];
meta = with lib; { description = "Kinematics and Dynamics Library (Python bindings)"; homepage = "https://www.orocos.org/kdl.html"; license = licenses.lgpl21Only; maintainers = with maintainers; [ lopsided98 ]; platforms = platforms.all; };})