nix-ros-overlay/distros/rolling/ros2-socketcan-msgs/default.nix

26 lines
959 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-auto, ament-lint-auto, ament-lint-common, rosidl-default-generators, rosidl-default-runtime, std-msgs }:
buildRosPackage {
pname = "ros-rolling-ros2-socketcan-msgs";
version = "1.3.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_socketcan-release/archive/release/rolling/ros2_socketcan_msgs/1.3.0-1.tar.gz";
name = "1.3.0-1.tar.gz";
sha256 = "92073a8bb90d3303758eac3703b89d0e6e8257a5317a64c655e839897d777e1c";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto rosidl-default-generators ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ rosidl-default-runtime std-msgs ];
nativeBuildInputs = [ ament-cmake-auto ];
meta = {
description = "Messages for SocketCAN";
license = with lib.licenses; [ asl20 ];
};
}