2019-09-04 17:11:04 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, clang, ament-flake8, pythonPackages, ament-pep257, python3Packages, ament-copyright }:
|
2019-09-06 12:16:22 -04:00
|
|
|
buildRosPackage {
|
2019-09-04 17:11:04 -04:00
|
|
|
pname = "ros-dashing-ament-clang-format";
|
2019-09-28 00:32:55 -04:00
|
|
|
version = "0.7.10-r1";
|
2019-09-04 17:11:04 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-09-28 00:32:55 -04:00
|
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/dashing/ament_clang_format/0.7.10-1.tar.gz";
|
|
|
|
name = "0.7.10-1.tar.gz";
|
|
|
|
sha256 = "52b4284b67572e251b9f415d7aa2d4406ebd078e78f7ec5779b3cb8e771f3ae2";
|
2019-09-04 17:11:04 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_python";
|
|
|
|
checkInputs = [ ament-flake8 ament-copyright pythonPackages.pytest ament-pep257 ];
|
|
|
|
propagatedBuildInputs = [ python3Packages.pyyaml clang ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''The ability to check code against style conventions using
|
|
|
|
clang-format and generate xUnit test result files.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|