nix-ros-overlay/distros/humble/eigenpy/default.nix

25 lines
845 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, boost, cmake, doxygen, eigen, git, python3, python3Packages }:
buildRosPackage {
pname = "ros-humble-eigenpy";
version = "3.11.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/eigenpy-release/archive/release/humble/eigenpy/3.11.0-1.tar.gz";
name = "3.11.0-1.tar.gz";
sha256 = "907d68e9741d5d68de9c34642806e1269d33ad5db19d30deb8e4399f0d685649";
};
buildType = "cmake";
buildInputs = [ cmake doxygen git ];
propagatedBuildInputs = [ boost eigen python3 python3Packages.numpy python3Packages.scipy ];
nativeBuildInputs = [ cmake ];
meta = {
description = "Bindings between Numpy and Eigen using Boost.Python";
license = with lib.licenses; [ bsdOriginal ];
};
}