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/distros/foxy/ros2cli/default.nix

25 lines
914 B
Nix
Raw Normal View History

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, ament-xmllint, python3Packages, pythonPackages, rclpy, test-msgs }:
buildRosPackage {
pname = "ros-foxy-ros2cli";
version = "0.9.10-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2cli-release/archive/release/foxy/ros2cli/0.9.10-1.tar.gz";
name = "0.9.10-1.tar.gz";
sha256 = "1b10ebb587e3dddcf3460e0753e1947deef9cbb995ea62e62a979e2d0e1fadaf";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 ament-xmllint pythonPackages.pytest test-msgs ];
propagatedBuildInputs = [ python3Packages.netifaces python3Packages.setuptools rclpy ];
meta = {
description = ''Framework for ROS 2 command line tools.'';
license = with lib.licenses; [ asl20 ];
};
}