1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/distros/eloquent/ament-clang-format/default.nix

26 lines
937 B
Nix
Raw Normal View History

# Copyright 2020 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-eloquent-ament-clang-format";
version = "0.8.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/eloquent/ament_clang_format/0.8.1-1.tar.gz";
name = "0.8.1-1.tar.gz";
sha256 = "b0bc3f445a8a617e3ba68ae09b55f9fa17ba8dc81ed1b65d05e8879a78ddb9e7";
};
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 ];
};
}