1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/crystal/ros2lifecycle/default.nix

25 lines
914 B
Nix
Raw Normal View History

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-flake8, ros2node, rclpy, pythonPackages, lifecycle-msgs, ament-pep257, ament-copyright, ros2service, ros2cli }:
buildRosPackage {
pname = "ros-crystal-ros2lifecycle";
version = "0.6.3";
src = fetchurl {
url = https://github.com/ros2-gbp/ros2cli-release/archive/release/crystal/ros2lifecycle/0.6.3-0.tar.gz;
sha256 = "f9b4f93f89f33644f48b8e71b38f9a28db19761f3a0233a01648a639ab7d2f06";
};
buildType = "ament_python";
buildInputs = [ rclpy ros2cli ];
checkInputs = [ ament-flake8 ament-copyright pythonPackages.pytest ament-pep257 ];
propagatedBuildInputs = [ ros2node rclpy lifecycle-msgs ros2service ros2cli ];
meta = {
description = ''The lifecycle command for ROS 2 command line tools.'';
license = with lib.licenses; [ asl20 ];
};
}