1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-09 11:54:40 +03:00
nix-ros-overlay/distros/humble/ros2pkg/default.nix

25 lines
1.1 KiB
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-index-python, ament-pep257, ament-xmllint, launch, launch-testing, launch-testing-ros, python3Packages, pythonPackages, ros2cli }:
buildRosPackage {
pname = "ros-humble-ros2pkg";
version = "0.18.7-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2cli-release/archive/release/humble/ros2pkg/0.18.7-1.tar.gz";
name = "0.18.7-1.tar.gz";
sha256 = "878c4afb8d84ff4099da38e64efe7b634178b4d4315dcce34797c90e986f38ee";
};
buildType = "ament_python";
checkInputs = [ ament-flake8 ament-pep257 ament-xmllint launch launch-testing launch-testing-ros python3Packages.pytest-timeout pythonPackages.pytest ];
propagatedBuildInputs = [ ament-copyright ament-index-python python3Packages.catkin-pkg python3Packages.empy python3Packages.importlib-resources python3Packages.setuptools ros2cli ];
meta = {
description = ''The pkg command for ROS 2 command line tools.'';
license = with lib.licenses; [ asl20 ];
};
}