nix-ros-overlay/distros/rolling/ros2nodl/default.nix

24 lines
973 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-flake8, ament-index-python, ament-lint-auto, ament-lint-common, ament-mypy, nodl-python, python3Packages, ros2cli, ros2pkg, ros2run }:
buildRosPackage {
pname = "ros-rolling-ros2nodl";
version = "0.3.1-r4";
src = fetchurl {
url = "https://github.com/ros2-gbp/nodl-release/archive/release/rolling/ros2nodl/0.3.1-4.tar.gz";
name = "0.3.1-4.tar.gz";
sha256 = "1c93859455403ea80694d421c2368fa88c0bfdff1dc350b5129c3ffaa213bea0";
};
buildType = "ament_python";
checkInputs = [ ament-flake8 ament-lint-auto ament-lint-common ament-mypy python3Packages.pytest python3Packages.pytest-mock ];
propagatedBuildInputs = [ ament-index-python nodl-python python3Packages.argcomplete ros2cli ros2pkg ros2run ];
meta = {
description = "CLI tools for NoDL files.";
license = with lib.licenses; [ asl20 ];
};
}