1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 05:39:01 +03:00
nix-ros-overlay/distros/foxy/mvsim/default.nix

26 lines
1.3 KiB
Nix

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, ament-cmake-gtest, ament-cmake-xmllint, ament-lint-auto, ament-lint-common, boost, box2d, cmake, cppzmq, mrpt2, nav-msgs, protobuf, python3, python3Packages, pythonPackages, ros-environment, ros2launch, sensor-msgs, tf2, tf2-geometry-msgs, unzip, visualization-msgs, wget }:
buildRosPackage {
pname = "ros-foxy-mvsim";
version = "0.5.1-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/mvsim-release/archive/release/foxy/mvsim/0.5.1-2.tar.gz";
name = "0.5.1-2.tar.gz";
sha256 = "0efc35cba6f5b3ce4b1ec14be3f3fe2b83cea7e2e71ee64da2dd499a2c7a8ea1";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-gmock ament-cmake-gtest ament-cmake-xmllint cmake ros-environment ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ boost box2d cppzmq mrpt2 nav-msgs protobuf python3 python3Packages.protobuf pythonPackages.pybind11 ros2launch sensor-msgs tf2 tf2-geometry-msgs unzip visualization-msgs wget ];
nativeBuildInputs = [ ament-cmake ament-cmake-gmock ament-cmake-gtest cmake ];
meta = {
description = ''A lightweight multivehicle simulation framework.'';
license = with lib.licenses; [ bsdOriginal ];
};
}