nix-ros-overlay/distros/jazzy/sensor-msgs/default.nix

26 lines
1.1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common, builtin-interfaces, geometry-msgs, rosidl-cmake, rosidl-default-generators, rosidl-default-runtime, std-msgs }:
buildRosPackage {
pname = "ros-jazzy-sensor-msgs";
version = "5.3.6-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/common_interfaces-release/archive/release/jazzy/sensor_msgs/5.3.6-1.tar.gz";
name = "5.3.6-1.tar.gz";
sha256 = "26b170ca29756bfe184881772f6a99d0c5d6ae0627b5149ba54eff4fcbaecaf5";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake rosidl-default-generators ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common rosidl-cmake ];
propagatedBuildInputs = [ builtin-interfaces geometry-msgs rosidl-default-runtime std-msgs ];
nativeBuildInputs = [ ament-cmake rosidl-default-generators ];
meta = {
description = "A package containing some sensor data related message and service definitions.";
license = with lib.licenses; [ asl20 ];
};
}