nix-ros-overlay/distros/jazzy/ros2pkg/default.nix

24 lines
1.1 KiB
Nix

# Copyright 2025 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, ros2cli }:
buildRosPackage {
pname = "ros-jazzy-ros2pkg";
version = "0.32.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2cli-release/archive/release/jazzy/ros2pkg/0.32.4-1.tar.gz";
name = "0.32.4-1.tar.gz";
sha256 = "892d603805e2752470a76014497432c64983ffb6458d3b2f84bc8e0edad63f4b";
};
buildType = "ament_python";
checkInputs = [ ament-flake8 ament-pep257 ament-xmllint launch launch-testing launch-testing-ros python3Packages.pytest python3Packages.pytest-timeout ];
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 ];
};
}