mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
hpp-fcl: add doc & split outputs
This commit is contained in:
parent
9801e42a29
commit
7f64c11d91
@ -3,6 +3,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, cmake
|
, cmake
|
||||||
|
, doxygen
|
||||||
, boost
|
, boost
|
||||||
, eigen
|
, eigen
|
||||||
, assimp
|
, assimp
|
||||||
@ -28,6 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
|
doxygen
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -44,6 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DHPP_FCL_HAS_QHULL=ON"
|
"-DHPP_FCL_HAS_QHULL=ON"
|
||||||
|
"-DINSTALL_DOCUMENTATION=ON"
|
||||||
] ++ lib.optionals (!pythonSupport) [
|
] ++ lib.optionals (!pythonSupport) [
|
||||||
"-DBUILD_PYTHON_INTERFACE=OFF"
|
"-DBUILD_PYTHON_INTERFACE=OFF"
|
||||||
];
|
];
|
||||||
@ -53,6 +56,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"hppfcl"
|
"hppfcl"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
outputs = [ "dev" "out" "doc" ];
|
||||||
|
postFixup = ''
|
||||||
|
moveToOutput share/ament_index "$dev"
|
||||||
|
moveToOutput share/${finalAttrs.pname} "$dev"
|
||||||
|
'';
|
||||||
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An extension of the Flexible Collision Library";
|
description = "An extension of the Flexible Collision Library";
|
||||||
homepage = "https://github.com/humanoid-path-planner/hpp-fcl";
|
homepage = "https://github.com/humanoid-path-planner/hpp-fcl";
|
||||||
|
Loading…
Reference in New Issue
Block a user