mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
26 lines
1.2 KiB
Nix
26 lines
1.2 KiB
Nix
![]() |
|
||
|
# Copyright 2022 Open Source Robotics Foundation
|
||
|
# Distributed under the terms of the BSD license
|
||
|
|
||
|
{ lib, buildRosPackage, fetchurl, ament-cmake-core, ament-cmake-gtest, ament-cmake-python, ament-cmake-ros, ament-index-python, ament-lint-auto, ament-lint-common, python3, rcutils, rosidl-cli, rosidl-cmake, rosidl-parser, rosidl-runtime-c, rosidl-typesupport-interface, test-interface-files }:
|
||
|
buildRosPackage {
|
||
|
pname = "ros-humble-rosidl-generator-c";
|
||
|
version = "3.1.3-r2";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/rosidl-release/archive/release/humble/rosidl_generator_c/3.1.3-2.tar.gz";
|
||
|
name = "3.1.3-2.tar.gz";
|
||
|
sha256 = "f6a0f4c995a604d2f92caec1b8ed72d739761becaa3590c57c338c9f288ba82e";
|
||
|
};
|
||
|
|
||
|
buildType = "ament_cmake";
|
||
|
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common rosidl-cmake rosidl-runtime-c test-interface-files ];
|
||
|
propagatedBuildInputs = [ ament-cmake-core ament-index-python python3 rcutils rosidl-cli rosidl-cmake rosidl-parser rosidl-typesupport-interface ];
|
||
|
nativeBuildInputs = [ ament-cmake-python ament-cmake-ros ];
|
||
|
|
||
|
meta = {
|
||
|
description = ''Generate the ROS interfaces in C.'';
|
||
|
license = with lib.licenses; [ asl20 ];
|
||
|
};
|
||
|
}
|