2019-12-09 05:16:46 +00:00
|
|
|
|
2020-01-10 12:36:13 +00:00
|
|
|
# Copyright 2020 Open Source Robotics Foundation
|
2019-12-09 05:16:46 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 23:14:51 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, clang, python3Packages, pythonPackages }:
|
2019-12-09 05:16:46 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-eloquent-ament-clang-format";
|
2020-12-11 13:16:21 +00:00
|
|
|
version = "0.8.2-r1";
|
2019-12-09 05:16:46 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-12-11 13:16:21 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/eloquent/ament_clang_format/0.8.2-1.tar.gz";
|
|
|
|
name = "0.8.2-1.tar.gz";
|
|
|
|
sha256 = "3f516314d4d18026cd149437fc966f16110098c73635d48d4948bf28909040b3";
|
2019-12-09 05:16:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_python";
|
2019-12-09 23:14:51 -05:00
|
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
|
|
|
|
propagatedBuildInputs = [ clang python3Packages.pyyaml ];
|
2019-12-09 05:16:46 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''The ability to check code against style conventions using
|
|
|
|
clang-format and generate xUnit test result files.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|