mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
26 lines
930 B
Nix
26 lines
930 B
Nix
![]() |
|
||
|
# Copyright 2022 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-humble-ament-clang-tidy";
|
||
|
version = "0.12.4-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/humble/ament_clang_tidy/0.12.4-1.tar.gz";
|
||
|
name = "0.12.4-1.tar.gz";
|
||
|
sha256 = "0aa7a2961b4e080b2cc60f79bf73e5db67991499223057888286c43610715230";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|