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-07-26 13:34:25 +00:00
|
|
|
version = "0.18.1-r1";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-07-26 13:34:25 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/rolling/ament_cppcheck/0.18.1-1.tar.gz";
|
|
|
|
name = "0.18.1-1.tar.gz";
|
|
|
|
sha256 = "065bc27fcab3244e76b324f719930a8a71603cc0a812955fb9b64419ca42c7ee";
|
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 = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "The ability to perform static code analysis on C/C++ code using Cppcheck
|
|
|
|
and generate xUnit test result files.";
|
2022-12-09 19:20:15 -05:00
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|