# Copyright 2024 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake-copyright, ament-cmake-core, ament-cmake-lint-cmake, ament-cmake-test, ament-cppcheck }: buildRosPackage { pname = "ros-iron-ament-cmake-cppcheck"; version = "0.14.2-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/iron/ament_cmake_cppcheck/0.14.2-1.tar.gz"; name = "0.14.2-1.tar.gz"; sha256 = "fc0af62119f869c4f3dca8130d0dc54f747e3927590ded9f5b0b7bffd7ddbc3c"; }; buildType = "ament_cmake"; checkInputs = [ ament-cmake-copyright ament-cmake-lint-cmake ]; propagatedBuildInputs = [ ament-cmake-core ament-cmake-test ament-cppcheck ]; nativeBuildInputs = [ ament-cmake-core ament-cmake-test ament-cppcheck ]; meta = { description = ''The CMake API for ament_cppcheck to perform static code analysis on C/C++ code using Cppcheck.''; license = with lib.licenses; [ asl20 ]; }; }