2019-09-04 17:11:04 -04:00
|
|
|
|
2020-01-10 12:36:13 +00:00
|
|
|
# Copyright 2020 Open Source Robotics Foundation
|
2019-09-04 17:11:04 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 23:36:28 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, clang, pythonPackages }:
|
2019-09-04 17:11:04 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-crystal-ament-clang-format";
|
|
|
|
version = "0.6.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-09-06 12:21:13 -04:00
|
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/crystal/ament_clang_format/0.6.4-0.tar.gz";
|
|
|
|
name = "0.6.4-0.tar.gz";
|
2019-09-04 17:11:04 -04:00
|
|
|
sha256 = "fb0ce39426f8b95d721329f6ac0f86df6cc5603de6cec10df0e7d7b72caf3b3c";
|
|
|
|
};
|
|
|
|
|
2019-09-05 22:48:11 -04:00
|
|
|
buildType = "ament_python";
|
2019-12-09 23:36:28 -05:00
|
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
|
2019-09-04 17:11:04 -04:00
|
|
|
propagatedBuildInputs = [ 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 ];
|
|
|
|
};
|
|
|
|
}
|