mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 21:50:38 +03:00
26 lines
1 KiB
Nix
26 lines
1 KiB
Nix
|
|
# Copyright 2025 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-python, ament-lint-auto, ament-lint-common, python3Packages, rosidl-adapter, rosidl-parser }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-rosidl-cmake";
|
|
version = "3.1.6-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/rosidl-release/archive/release/humble/rosidl_cmake/3.1.6-1.tar.gz";
|
|
name = "3.1.6-1.tar.gz";
|
|
sha256 = "9082f81c0921ad4e5b57be0bfcbaa3a5990cd3a76259654874ab44b3dce85422";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake-python ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ ament-cmake python3Packages.empy rosidl-adapter rosidl-parser ];
|
|
nativeBuildInputs = [ ament-cmake ament-cmake-python python3Packages.empy ];
|
|
|
|
meta = {
|
|
description = "The CMake functionality to invoke code generation for ROS interface files.";
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|