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

27 lines
1,018 B
Nix
Raw Normal View History

# Copyright 2024 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.3.9-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/generate_parameter_library-release/archive/release/rolling/cmake_generate_parameter_module_example/0.3.9-1.tar.gz";
name = "0.3.9-1.tar.gz";
sha256 = "92e1a1432b70e3f5fdc737ef5d116d348331fba711145079f54dba8f99912015";
};
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 ];
};
}