nix-ros-overlay/distros/noetic/rosserial-python/default.nix

25 lines
859 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, catkin, diagnostic-msgs, python3Packages, rospy, rosserial-msgs }:
buildRosPackage {
pname = "ros-noetic-rosserial-python";
version = "0.9.2-r1";
src = fetchurl {
url = "https://github.com/ros-gbp/rosserial-release/archive/release/noetic/rosserial_python/0.9.2-1.tar.gz";
name = "0.9.2-1.tar.gz";
sha256 = "0e115dc3f3a969b38ce2eb670dd8db6caa9266857dde5c2d2032a8ef3ff83f59";
};
buildType = "catkin";
buildInputs = [ catkin ];
propagatedBuildInputs = [ diagnostic-msgs python3Packages.pyserial rospy rosserial-msgs ];
nativeBuildInputs = [ catkin ];
meta = {
description = "A Python-based implementation of the rosserial protocol.";
license = with lib.licenses; [ bsdOriginal ];
};
}