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

26 lines
934 B
Nix
Raw Normal View History

# Copyright 2021 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-galactic-ament-clang-tidy";
version = "0.10.6-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/galactic/ament_clang_tidy/0.10.6-1.tar.gz";
name = "0.10.6-1.tar.gz";
sha256 = "14d7f00bb9d7c730cefc08ae69d5acb9aa56c62fe7f93b3ff2b4a35cd0509adf";
};
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 ];
};
}