nix-ros-overlay/distros/iron/ament-cmake-clang-tidy/default.nix

26 lines
1,016 B
Nix

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-clang-tidy, ament-cmake-copyright, ament-cmake-core, ament-cmake-lint-cmake, ament-cmake-test }:
buildRosPackage {
pname = "ros-iron-ament-cmake-clang-tidy";
version = "0.14.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/iron/ament_cmake_clang_tidy/0.14.4-1.tar.gz";
name = "0.14.4-1.tar.gz";
sha256 = "8c1e1a308c0d61a0a883364e28031e8d66b23b6680e5ceca77b1e37ac67ac8d9";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-core ];
checkInputs = [ ament-cmake-copyright ament-cmake-lint-cmake ];
propagatedBuildInputs = [ ament-clang-tidy ament-cmake-test ];
nativeBuildInputs = [ ament-clang-tidy ament-cmake-core ament-cmake-test ];
meta = {
description = "The CMake API for ament_clang_tidy to lint C / C++ code using clang tidy.";
license = with lib.licenses; [ asl20 ];
};
}