2022-06-09 18:50:37 -04:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2022-06-09 18:50:37 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-clang-format, ament-cmake-copyright, ament-cmake-core, ament-cmake-lint-cmake, ament-cmake-test }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-ament-cmake-clang-format";
|
2023-11-24 13:11:26 +00:00
|
|
|
version = "0.12.9-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-11-24 13:11:26 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/humble/ament_cmake_clang_format/0.12.9-1.tar.gz";
|
|
|
|
name = "0.12.9-1.tar.gz";
|
|
|
|
sha256 = "d1d1f89f6ee4fc486ed32acdcf32932dce3a4f04dcf183471f8f609af3ec91c6";
|
2022-06-09 18:50:37 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2022-11-04 19:29:56 -04:00
|
|
|
buildInputs = [ ament-cmake-core ];
|
2022-06-09 18:50:37 -04:00
|
|
|
checkInputs = [ ament-cmake-copyright ament-cmake-lint-cmake ];
|
|
|
|
propagatedBuildInputs = [ ament-clang-format ament-cmake-test ];
|
2022-11-04 19:29:56 -04:00
|
|
|
nativeBuildInputs = [ ament-clang-format ament-cmake-core ament-cmake-test ];
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''The CMake API for ament_clang_format to lint C / C++ code using clang format.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|