mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 13:40:32 +03:00
25 lines
895 B
Nix
25 lines
895 B
Nix
|
|
# Copyright 2025 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, grbl-msgs, python3Packages, rclpy, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-jazzy-grbl-ros";
|
|
version = "0.0.16-r7";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/grbl_ros-release/archive/release/jazzy/grbl_ros/0.0.16-7.tar.gz";
|
|
name = "0.0.16-7.tar.gz";
|
|
sha256 = "ac469f34a4d40ce8edeb6042e317a47691d0531bc14f323190278f9c7fadce8e";
|
|
};
|
|
|
|
buildType = "ament_python";
|
|
buildInputs = [ python3Packages.pyserial ];
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 python3Packages.pytest ];
|
|
propagatedBuildInputs = [ grbl-msgs rclpy std-msgs ];
|
|
|
|
meta = {
|
|
description = "ROS2 package to interface with a GRBL serial device";
|
|
license = with lib.licenses; [ mit ];
|
|
};
|
|
}
|