# Copyright 2024 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-iron-ecl-exceptions"; version = "1.2.1-r4"; src = fetchurl { url = "https://github.com/ros2-gbp/ecl_core-release/archive/release/iron/ecl_exceptions/1.2.1-4.tar.gz"; name = "1.2.1-4.tar.gz"; sha256 = "c4008d45b385ce70b6ead34009b1492c239c70ab9f55343c872e40b24f0f245f"; }; 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 ]; }; }