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

26 lines
1,018 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-rolling-cmake-generate-parameter-module-example";
version = "0.4.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/generate_parameter_library-release/archive/release/rolling/cmake_generate_parameter_module_example/0.4.0-1.tar.gz";
name = "0.4.0-1.tar.gz";
sha256 = "6660bbb9ab1467cf837c80a5944ac68318a2204f0f01495ff5683010294ac9e7";
};
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 ];
};
}