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

25 lines
946 B
Nix
Raw Normal View History

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, generate-parameter-library, pythonPackages, rclpy }:
buildRosPackage {
pname = "ros-rolling-generate-parameter-module-example";
version = "0.3.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/generate_parameter_library-release/archive/release/rolling/generate_parameter_module_example/0.3.4-1.tar.gz";
name = "0.3.4-1.tar.gz";
sha256 = "deb744855e1f2666c9261d29ae58e0369af12e5e7979ded31bafd03072b7db08";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
propagatedBuildInputs = [ generate-parameter-library rclpy ];
meta = {
description = ''Example usage of generate_parameter_library for a python module'';
license = with lib.licenses; [ bsd3 ];
};
}