nix-ros-overlay/distros/jazzy/ntrip-client-node/default.nix

26 lines
1.1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-copyright, ament-cmake-cppcheck, ament-cmake-uncrustify, ament-lint-auto, ament-lint-common, libcurl-vendor, pkg-config, rclcpp, rclcpp-components, rtcm-msgs, std-msgs }:
buildRosPackage {
pname = "ros-jazzy-ntrip-client-node";
version = "0.5.5-r3";
src = fetchurl {
url = "https://github.com/ros2-gbp/ublox_dgnss-release/archive/release/jazzy/ntrip_client_node/0.5.5-3.tar.gz";
name = "0.5.5-3.tar.gz";
sha256 = "755da77f8e1106bab44b76bbe21afb8f515ed334a7443f2361fe3542181ebae3";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake pkg-config ];
checkInputs = [ ament-cmake-copyright ament-cmake-cppcheck ament-cmake-uncrustify ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ libcurl-vendor rclcpp rclcpp-components rtcm-msgs std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Publishes RTCM ntrip messages from an external mountpoint";
license = with lib.licenses; [ asl20 ];
};
}