nix-ros-overlay/distros/foxy/ament-clang-format/default.nix
Ben Wolsieffer d31e04aef7 Revert "Remove foxy."
This reverts commit 113129c9da.
2023-09-12 19:34:23 -04:00

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 ];
};
}