1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/foxy/ros2pkg/default.nix

24 lines
986 B
Nix

# Copyright 2020 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-index-python, ament-pep257, ament-xmllint, python3Packages, pythonPackages, ros-testing, ros2cli }:
buildRosPackage {
pname = "ros-foxy-ros2pkg";
version = "0.9.7-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2cli-release/archive/release/foxy/ros2pkg/0.9.7-1.tar.gz";
name = "0.9.7-1.tar.gz";
sha256 = "ca9038293d2a9b5eff20fc33e0fea21ea725b6e9c3dd01e0750fbc97a1e695c7";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 ament-xmllint pythonPackages.pytest ros-testing ];
propagatedBuildInputs = [ ament-index-python python3Packages.catkin-pkg python3Packages.empy python3Packages.setuptools ros2cli ];
meta = {
description = ''The pkg command for ROS 2 command line tools.'';
license = with lib.licenses; [ asl20 ];
};
}