1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-12 05:16:30 +03:00
nix-ros-overlay/distros/humble/ament-clang-format/default.nix

26 lines
937 B
Nix
Raw Normal View History

# Copyright 2024 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.11-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/humble/ament_clang_format/0.12.11-1.tar.gz";
name = "0.12.11-1.tar.gz";
sha256 = "52bc20440e4796d227ed4b3bb9b947d8eb6554f14f1b9687b19dba81ce9db27c";
};
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 ];
};
}