nix-ros-overlay/distros/jazzy/cmake-generate-parameter-module-example/default.nix

26 lines
1,014 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-python, ament-lint-auto, ament-lint-common, generate-parameter-library, rclpy }:
buildRosPackage {
pname = "ros-jazzy-cmake-generate-parameter-module-example";
version = "0.4.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/generate_parameter_library-release/archive/release/jazzy/cmake_generate_parameter_module_example/0.4.0-1.tar.gz";
name = "0.4.0-1.tar.gz";
sha256 = "d5dfa66bce89faf52d547ef1afcb660dd4fb934215cd9b8f0e3935b4702cb712";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-python ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ generate-parameter-library rclpy ];
nativeBuildInputs = [ ament-cmake-python ];
meta = {
description = "Example usage of generate_parameter_library for a python module with cmake.";
license = with lib.licenses; [ bsd3 ];
};
}