nix-ros-overlay/distros/foxy/ament-cmake-clang-tidy/default.nix
2022-11-04 19:29:56 -04:00

26 lines
1,015 B
Nix

# Copyright 2022 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-foxy-ament-cmake-clang-tidy";
version = "0.9.7-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/foxy/ament_cmake_clang_tidy/0.9.7-1.tar.gz";
name = "0.9.7-1.tar.gz";
sha256 = "54a27d55f677cc1e618510d2565eb6879670ad6369b409262be4b594f02ecbc5";
};
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 ];
};
}