nix-ros-overlay/distros/humble/common-interfaces/default.nix

26 lines
1.2 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, actionlib-msgs, ament-cmake, ament-lint-auto, ament-lint-common, builtin-interfaces, diagnostic-msgs, geometry-msgs, nav-msgs, sensor-msgs, shape-msgs, std-msgs, std-srvs, stereo-msgs, trajectory-msgs, visualization-msgs }:
buildRosPackage {
pname = "ros-humble-common-interfaces";
version = "4.8.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/common_interfaces-release/archive/release/humble/common_interfaces/4.8.0-1.tar.gz";
name = "4.8.0-1.tar.gz";
sha256 = "722009410670649fb670c4b5bbc0839448ab48c540614339ff7a7bc39cab7664";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ actionlib-msgs builtin-interfaces diagnostic-msgs geometry-msgs nav-msgs sensor-msgs shape-msgs std-msgs std-srvs stereo-msgs trajectory-msgs visualization-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "common_interfaces contains messages and services that are widely used by other ROS packages.";
license = with lib.licenses; [ asl20 ];
};
}