1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-09 19:55:19 +03:00
nix-ros-overlay/dashing/ament-clang-format/default.nix

26 lines
935 B
Nix
Raw Normal View History

# 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 }:
buildRosPackage {
pname = "ros-dashing-ament-clang-format";
version = "0.7.9-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/dashing/ament_clang_format/0.7.9-1.tar.gz";
name = "0.7.9-1.tar.gz";
sha256 = "48ebf0d4d9ceb3b96a42aff82763295d5bdbde41e9441ef719ffab7a45632ac6";
};
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 ];
};
}