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/dashing/ros2topic/default.nix

26 lines
1,016 B
Nix
Raw Normal View History

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-xmllint, ament-flake8, ros2msg, rclpy, rosidl-runtime-py, pythonPackages, ament-pep257, python3Packages, ament-copyright, ros2cli }:
buildRosPackage rec {
pname = "ros-dashing-ros2topic";
version = "0.7.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2cli-release/archive/release/dashing/ros2topic/0.7.4-1.tar.gz";
name = "0.7.4-1.tar.gz";
sha256 = "2b61aaad83c4757f448be9ab3fb07997e92cebb88859eaad3376472ab52cf10c";
};
buildType = "ament_python";
buildInputs = [ ros2cli ];
checkInputs = [ ament-xmllint ament-flake8 pythonPackages.pytest ament-pep257 ament-copyright ];
propagatedBuildInputs = [ ros2msg rclpy rosidl-runtime-py python3Packages.pyyaml python3Packages.numpy ros2cli ];
meta = {
description = ''The topic command for ROS 2 command line tools.'';
license = with lib.licenses; [ asl20 bsdOriginal ];
};
}