# Copyright 2025 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake-ros, ecl-build, ecl-config, ecl-errors, ecl-license }: buildRosPackage { pname = "ros-rolling-ecl-exceptions"; version = "1.2.1-r4"; src = fetchurl { url = "https://github.com/ros2-gbp/ecl_core-release/archive/release/rolling/ecl_exceptions/1.2.1-4.tar.gz"; name = "1.2.1-4.tar.gz"; sha256 = "5c6dd388f40dac8b56d789cc71e6c1eb8d42bc62c49b7924be83587ea9aedc99"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake-ros ecl-build ]; propagatedBuildInputs = [ ecl-config ecl-errors ecl-license ]; nativeBuildInputs = [ ament-cmake-ros ]; meta = { description = "Template based exceptions - these are simple and practical and avoid the proliferation of exception types. Although not syntatactically ideal, it is convenient and eminently practical."; license = with lib.licenses; [ bsdOriginal ]; }; }