mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
26 lines
936 B
Nix
26 lines
936 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-format";
|
||
|
version = "0.12.4-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/humble/ament_clang_format/0.12.4-1.tar.gz";
|
||
|
name = "0.12.4-1.tar.gz";
|
||
|
sha256 = "1adc72358c75a63632ee444018fc6562bf75de39fe757e0a080b2694df6760e0";
|
||
|
};
|
||
|
|
||
|
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-format and generate xUnit test result files.'';
|
||
|
license = with lib.licenses; [ asl20 ];
|
||
|
};
|
||
|
}
|