11 , pythonSupport ? false
15 stdenv.mkDerivation (finalAttrs: {
19 src = fetchFromGitHub {
20 owner = "humanoid-path-planner";
21 repo = finalAttrs.pname;
22 rev = "v${finalAttrs.version}";
23 fetchSubmodules = true;
24 hash = "sha256-Bytm5uaHYsfMeZ+JKs75003iHNObRBGDpV7Rz9yW7jQ=";
33 propagatedBuildInputs = [
37 ] ++ lib.optionals (!pythonSupport) [
40 ] ++ lib.optionals pythonSupport [
42 python3Packages.eigenpy
46 "-DHPP_FCL_HAS_QHULL=ON"
47 ] ++ lib.optionals (!pythonSupport) [
48 "-DBUILD_PYTHON_INTERFACE=OFF"
52 pythonImportsCheck = lib.optionals (!pythonSupport) [
57 description = "An extension of the Flexible Collision Library";
58 homepage = "https://github.com/humanoid-path-planner/hpp-fcl";
59 license = licenses.bsd3;
60 maintainers = with maintainers; [ nim65s ];
61 platforms = platforms.unix;