mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 13:40:32 +03:00
26 lines
953 B
Nix
26 lines
953 B
Nix
|
|
# Copyright 2025 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, rosidl-default-generators, rosidl-default-runtime, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-can-msgs";
|
|
version = "2.0.0-r4";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ros_canopen-release/archive/release/humble/can_msgs/2.0.0-4.tar.gz";
|
|
name = "2.0.0-4.tar.gz";
|
|
sha256 = "9adbfa5ad2598b31797cc6c9a12054af037c7099dfa75735476cfccf41dec849";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake rosidl-default-generators ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ rosidl-default-runtime std-msgs ];
|
|
nativeBuildInputs = [ ament-cmake rosidl-default-generators ];
|
|
|
|
meta = {
|
|
description = "CAN related message types.";
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|