depot/third_party/nixpkgs/pkgs/development/python-modules/eigenpy/default.nix
Default email 83627f9931 Project import generated by Copybara.
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
2024-06-24 14:47:55 -04:00

67 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
cmake,
doxygen,
boost,
eigen,
jrl-cmakemodules,
numpy,
scipy,
}:
buildPythonPackage rec {
pname = "eigenpy";
version = "3.7.0";
pyproject = false; # Built with cmake
src = fetchFromGitHub {
owner = "stack-of-tasks";
repo = "eigenpy";
rev = "v${version}";
hash = "sha256-D/k/ka500EZch5Ydym2WYtd5vciGkd9rdBUSjTsZ0w4=";
};
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;
};
}