mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 02:34:50 +03:00
24 lines
1.1 KiB
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-humble-ros2pkg";
|
|
version = "0.18.12-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ros2cli-release/archive/release/humble/ros2pkg/0.18.12-1.tar.gz";
|
|
name = "0.18.12-1.tar.gz";
|
|
sha256 = "d5f6ca7b7b980b78b3cc44adf9918a5bdf2dd9819bf12c1b296f409ba7f8cef4";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|