# Copyright 2025 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-rolling-ament-cmake-cppcheck"; version = "0.20.0-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/rolling/ament_cmake_cppcheck/0.20.0-1.tar.gz"; name = "0.20.0-1.tar.gz"; sha256 = "527614d8407797b2be5e90df3d37e698faed428823f2b18eb4db872040093cf9"; }; 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 ]; }; }