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

26 lines
842 B
Nix
Raw Normal View History

# Copyright 2024 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.8.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/eigenpy-release/archive/release/humble/eigenpy/3.8.2-1.tar.gz";
name = "3.8.2-1.tar.gz";
sha256 = "20ff4457a6139281b8e86460a10051121d27eb7672b2c45f09138d4fc6a462ef";
};
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 ];
};
}