pinocchio, python3Packages.pinocchio: init at 2.6.12
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, boost
|
||||
, eigen
|
||||
, urdfdom
|
||||
, pythonSupport ? false
|
||||
, python3Packages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pinocchio";
|
||||
version = "2.6.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stack-of-tasks";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "sha256-DJX/njNX8l7ngSl3yCeN7ZoQaH65pQTsZrKwmY7EZ+E=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
urdfdom
|
||||
] ++ lib.optionals (!pythonSupport) [
|
||||
boost
|
||||
eigen
|
||||
] ++ lib.optionals pythonSupport [
|
||||
python3Packages.boost
|
||||
python3Packages.eigenpy
|
||||
];
|
||||
|
||||
cmakeFlags = lib.optionals (!pythonSupport) [
|
||||
"-DBUILD_PYTHON_INTERFACE=OFF"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives";
|
||||
homepage = "https://github.com/stack-of-tasks/pinocchio";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ wegank ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -22024,6 +22024,8 @@ with pkgs;
|
||||
|
||||
pico-sdk = callPackage ../development/libraries/pico-sdk { };
|
||||
|
||||
pinocchio = callPackage ../development/libraries/pinocchio { };
|
||||
|
||||
pipelight = callPackage ../tools/misc/pipelight {
|
||||
stdenv = stdenv_32bit;
|
||||
wine-staging = pkgsi686Linux.wine-staging;
|
||||
|
||||
@@ -6957,6 +6957,11 @@ self: super: with self; {
|
||||
|
||||
pinboard = callPackage ../development/python-modules/pinboard { };
|
||||
|
||||
pinocchio = toPythonModule (pkgs.pinocchio.override {
|
||||
pythonSupport = true;
|
||||
python3Packages = self;
|
||||
});
|
||||
|
||||
pint = callPackage ../development/python-modules/pint { };
|
||||
|
||||
pint-pandas = callPackage ../development/python-modules/pint-pandas { };
|
||||
|
||||
Reference in New Issue
Block a user