mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
25 lines
938 B
Nix
25 lines
938 B
Nix
|
|
# 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-rolling-ament-clang-format";
|
|
version = "0.16.2-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/rolling/ament_clang_format/0.16.2-1.tar.gz";
|
|
name = "0.16.2-1.tar.gz";
|
|
sha256 = "b25b084d4a29c595faed8b876fdca28c0cf11341472d452e6fee622ce6b3b139";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|