nix-ros-overlay/distros/rolling/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-rolling-common-interfaces";
version = "5.5.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/common_interfaces-release/archive/release/rolling/common_interfaces/5.5.0-1.tar.gz";
name = "5.5.0-1.tar.gz";
sha256 = "807b9e5b5bcd5ef7d9b891ba3c18331ca5da0dc5050885f474bd84ff10978bd3";
};
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 ];
};
}