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

29 lines
1.4 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-auto, ament-cmake-pytest, ament-cmake-python, ament-lint-auto, ament-lint-common, joint-state-publisher-gui, launch, launch-pal, launch-param-builder, launch-ros, launch-testing-ament-cmake, pal-urdf-utils, rviz2, urdf-test, xacro }:
buildRosPackage {
pname = "ros-humble-pmb2-description";
version = "5.7.0-r1";
src = fetchurl {
url = "https://github.com/pal-gbp/pmb2_robot-gbp/archive/release/humble/pmb2_description/5.7.0-1.tar.gz";
name = "5.7.0-1.tar.gz";
sha256 = "3f20c9a3fbee9305e77466625bf5e2b467f33c7228c8b31127d9ad3c4fe09ec8";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto ament-cmake-python ];
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch-testing-ament-cmake urdf-test ];
propagatedBuildInputs = [ joint-state-publisher-gui launch launch-pal launch-param-builder launch-ros pal-urdf-utils rviz2 xacro ];
nativeBuildInputs = [ ament-cmake-auto ament-cmake-python ];
meta = {
description = "Mechanical, kinematic, visual, etc. description of the PMB2 robot.
The files in this package are parsed and used by
a variety of other components. Most users will not interact directly
with this package.";
license = with lib.licenses; [ asl20 ];
};
}