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

25 lines
825 B
Nix

# Copyright 2022 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-foxy-eigenpy";
version = "2.6.10-r3";
src = fetchurl {
url = "https://github.com/stack-of-tasks/eigenpy-ros-release/archive/release/foxy/eigenpy/2.6.10-3.tar.gz";
name = "2.6.10-3.tar.gz";
sha256 = "e7d63e79cc0ee6fe27218e70722464eabfd762a5724c771cac1f5d888c8a0fac";
};
buildType = "cmake";
buildInputs = [ doxygen git ];
propagatedBuildInputs = [ boost eigen python3 python3Packages.numpy ];
nativeBuildInputs = [ cmake ];
meta = {
description = ''Bindings between Numpy and Eigen using Boost.Python'';
license = with lib.licenses; [ bsdOriginal ];
};
}