mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 02:04:49 +03:00
25 lines
929 B
Nix
25 lines
929 B
Nix
|
|
# Copyright 2023 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-foxy-ament-clang-format";
|
|
version = "0.9.8-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/foxy/ament_clang_format/0.9.8-1.tar.gz";
|
|
name = "0.9.8-1.tar.gz";
|
|
sha256 = "c234d049765135e5441829e2ed3d48d807efb10c4ef535a56e24a39327982a98";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|