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

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