depot/third_party/nixpkgs/pkgs/development/python-modules/eigenpy/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

67 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
cmake,
doxygen,
boost,
eigen,
jrl-cmakemodules,
numpy,
scipy,
}:
buildPythonPackage rec {
pname = "eigenpy";
version = "3.9.1";
pyproject = false; # Built with cmake
src = fetchFromGitHub {
owner = "stack-of-tasks";
repo = "eigenpy";
rev = "refs/tags/v${version}";
hash = "sha256-nRslQMnVaVN7S20RuJDp+e9p+oMhsR03EjHYpvkuBYk=";
};
outputs = [
"dev"
"doc"
"out"
];
cmakeFlags = [
"-DINSTALL_DOCUMENTATION=ON"
"-DBUILD_TESTING_SCIPY=ON"
];
strictDeps = true;
nativeBuildInputs = [
cmake
doxygen
scipy
];
buildInputs = [ boost ];
propagatedBuildInputs = [
eigen
jrl-cmakemodules
numpy
];
doCheck = true;
pythonImportsCheck = [ "eigenpy" ];
meta = with lib; {
description = "Bindings between Numpy and Eigen using Boost.Python";
homepage = "https://github.com/stack-of-tasks/eigenpy";
changelog = "https://github.com/stack-of-tasks/eigenpy/releases/tag/v${version}";
license = licenses.bsd2;
maintainers = with maintainers; [
nim65s
wegank
];
platforms = platforms.unix;
};
}