nix-ros-overlay/distros/humble/ecl-streams/default.nix

27 lines
1.1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-gtest, ament-cmake-ros, ament-lint-auto, ament-lint-common, ecl-build, ecl-concepts, ecl-converters, ecl-devices, ecl-errors, ecl-license, ecl-time, ecl-type-traits }:
buildRosPackage {
pname = "ros-humble-ecl-streams";
version = "1.2.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ecl_core-release/archive/release/humble/ecl_streams/1.2.1-1.tar.gz";
name = "1.2.1-1.tar.gz";
sha256 = "627c35e9f820a6bc1a23fbeb0defefab6e0745444ac6d7f03c41510fcbaeee67";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-ros ecl-build ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ ecl-concepts ecl-converters ecl-devices ecl-errors ecl-license ecl-time ecl-type-traits ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = "These are lightweight text streaming classes that connect to standardised
ecl type devices.";
license = with lib.licenses; [ bsdOriginal ];
};
}