nix-ros-overlay/distros/humble/pmb2-simulation/default.nix

27 lines
952 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, pmb2-gazebo }:
buildRosPackage {
pname = "ros-humble-pmb2-simulation";
version = "4.3.0-r1";
src = fetchurl {
url = "https://github.com/pal-gbp/pmb2_simulation-release/archive/release/humble/pmb2_simulation/4.3.0-1.tar.gz";
name = "4.3.0-1.tar.gz";
sha256 = "6bff19f74f796d8f4b95cdd7e8bc0a414e277c2a50f3bb0db9b6789c69278e05";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ pmb2-gazebo ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "PMB2-specific simulation components. These include plugins
and launch scripts necessary for running PMB2 in simulation.";
license = with lib.licenses; [ asl20 ];
};
}