mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 17:54:49 +03:00
26 lines
1.4 KiB
Nix
26 lines
1.4 KiB
Nix
|
|
# Copyright 2024 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, assimp, cmake, cv-bridge, eigen, ffmpeg, freeglut, freenect, glfw3, libGL, libGLU, libjpeg, libpcap, libusb1, mrpt-libbase, octomap, opencv, openni2, pkg-config, python3Packages, pythonPackages, rclcpp, ros-environment, rosbag2-storage, suitesparse, tinyxml-2, udev, wxGTK32, xorg, zlib }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-mrpt-libmath";
|
|
version = "2.14.1-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/mrpt_ros-release/archive/release/humble/mrpt_libmath/2.14.1-1.tar.gz";
|
|
name = "2.14.1-1.tar.gz";
|
|
sha256 = "bde9069e4039e533576e27231b4adce70d0e382272cf52b8c715bf3c32e90c4b";
|
|
};
|
|
|
|
buildType = "cmake";
|
|
buildInputs = [ ament-cmake assimp cmake cv-bridge ffmpeg freeglut freenect glfw3 libGL libGLU libjpeg libpcap libusb1 octomap opencv opencv.cxxdev openni2 pkg-config python3Packages.pip pythonPackages.pybind11 rclcpp ros-environment rosbag2-storage tinyxml-2 udev wxGTK32 xorg.libXrandr xorg.libXxf86vm zlib ];
|
|
propagatedBuildInputs = [ eigen mrpt-libbase suitesparse ];
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
description = "Mobile Robot Programming Toolkit (MRPT) libraries (math C++ libraries).
|
|
This package contains: mrpt-math";
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|