nix-ros-overlay/distros/foxy/control-msgs/default.nix
2022-11-04 19:29:56 -04:00

28 lines
1.2 KiB
Nix

# Copyright 2022 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, action-msgs, ament-cmake, ament-lint-auto, ament-lint-common, builtin-interfaces, geometry-msgs, rosidl-default-generators, rosidl-default-runtime, std-msgs, trajectory-msgs }:
buildRosPackage {
pname = "ros-foxy-control-msgs";
version = "2.5.1-r1";
src = fetchurl {
url = "https://github.com/ros-gbp/control_msgs-release/archive/release/foxy/control_msgs/2.5.1-1.tar.gz";
name = "2.5.1-1.tar.gz";
sha256 = "f9f6c29baacb967fb269637f6254dc0e5bbfedb69ffa325dd80f07203b4e0621";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake rosidl-default-generators ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ action-msgs builtin-interfaces geometry-msgs rosidl-default-runtime std-msgs trajectory-msgs ];
nativeBuildInputs = [ ament-cmake rosidl-default-generators ];
meta = {
description = ''control_msgs contains base messages and actions useful for
controlling robots. It provides representations for controller
setpoints and joint and cartesian trajectories.'';
license = with lib.licenses; [ bsdOriginal ];
};
}