1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-06-25 00:05:33 +03:00
nix-ros-overlay/distros/humble/ament-cmake-cppcheck/default.nix

27 lines
1,017 B
Nix
Raw Normal View History

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