# 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-license, ecl-type-traits }: buildRosPackage { pname = "ros-rolling-ecl-math"; version = "1.2.1-r4"; src = fetchurl { url = "https://github.com/ros2-gbp/ecl_core-release/archive/release/rolling/ecl_math/1.2.1-4.tar.gz"; name = "1.2.1-4.tar.gz"; sha256 = "422599745d1081b9b55f2fe8002e32f338391db2e5ebdae5290c354ae51a6419"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake-ros ecl-build ]; checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ]; propagatedBuildInputs = [ ecl-license ecl-type-traits ]; nativeBuildInputs = [ ament-cmake-ros ]; meta = { description = "This package provides simple support to cmath, filling in holes or redefining in a c++ formulation where desirable."; license = with lib.licenses; [ bsdOriginal ]; }; }