1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/distros/foxy/ament-clang-tidy/default.nix

26 lines
923 B
Nix
Raw Normal View History

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, clang, python3Packages, pythonPackages }:
buildRosPackage {
pname = "ros-foxy-ament-clang-tidy";
version = "0.9.8-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/foxy/ament_clang_tidy/0.9.8-1.tar.gz";
name = "0.9.8-1.tar.gz";
sha256 = "e51e00f16b8249037fd054e36ac725e501b416b05fdf97ec8ec23e6142385c7a";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
propagatedBuildInputs = [ clang python3Packages.pyyaml ];
meta = {
description = ''The ability to check code against style conventions using
clang-tidy and generate xUnit test result files.'';
license = with lib.licenses; [ asl20 ];
};
}