2022-12-09 19:20:15 -05:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2024-02-09 13:42:10 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, ament-pycodestyle, cppcheck, pythonPackages }:
|
2022-12-09 19:20:15 -05:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-ament-cppcheck";
|
2024-03-08 13:41:18 +00:00
|
|
|
version = "0.16.3-r2";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-03-08 13:41:18 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/rolling/ament_cppcheck/0.16.3-2.tar.gz";
|
|
|
|
name = "0.16.3-2.tar.gz";
|
|
|
|
sha256 = "7bd60f1ad90d7f093d7bd696087fb61d9eb911333687faa6da08093835f46a37";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_python";
|
2024-02-09 13:42:10 +00:00
|
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 ament-pycodestyle pythonPackages.pytest ];
|
2022-12-09 19:20:15 -05:00
|
|
|
propagatedBuildInputs = [ cppcheck ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''The ability to perform static code analysis on C/C++ code using Cppcheck
|
|
|
|
and generate xUnit test result files.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|