depot/third_party/nixpkgs/pkgs/development/python-modules/eigenpy/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

66 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
doxygen,
boost,
eigen,
jrl-cmakemodules,
numpy,
scipy,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "eigenpy";
version = "3.5.0";
src = fetchFromGitHub {
owner = "stack-of-tasks";
repo = "eigenpy";
rev = "v${finalAttrs.version}";
hash = "sha256-ar7KmlvWD2qoOonaH8YhVssZhpbTdHNvxY7rzvmhzc0=";
};
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${finalAttrs.version}";
license = licenses.bsd2;
maintainers = with maintainers; [
nim65s
wegank
];
platforms = platforms.unix;
};
})