Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 59 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib,
toPythonModule, pythonImportsCheckHook,
crocoddyl,
example-robot-data, ffmpeg, matplotlib, nbconvert, nbformat, ipykernel, python, scipy,
buildStandalone ? true,}:toPythonModule ( crocoddyl.overrideAttrs (super: { pname = "py-${super.pname}";
cmakeFlags = super.cmakeFlags ++ [ (lib.cmakeBool "BUILD_PYTHON_INTERFACE" true) (lib.cmakeBool "BUILD_STANDALONE_PYTHON_INTERFACE" buildStandalone) ];
# those are used by CMake at configure/build time nativeBuildInputs = super.nativeBuildInputs ++ [ python ];
propagatedBuildInputs = [ example-robot-data ] ++ super.propagatedBuildInputs ++ lib.optional buildStandalone crocoddyl;
nativeCheckInputs = [ ffmpeg pythonImportsCheckHook ];
checkInputs = [ matplotlib nbconvert nbformat ipykernel scipy ];
pythonImportsCheck = [ "crocoddyl" ];
__darwinAllowLocalNetworking = true; }))