1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/eloquent/ament-clang-tidy/default.nix

26 lines
931 B
Nix
Raw Normal View History

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, clang, python3Packages, ament-copyright, pythonPackages, ament-pep257, ament-flake8 }:
buildRosPackage {
pname = "ros-eloquent-ament-clang-tidy";
version = "0.8.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/eloquent/ament_clang_tidy/0.8.1-1.tar.gz";
name = "0.8.1-1.tar.gz";
sha256 = "88158f652b70ee251bcb789fad5fac81c66169cd9ff5c8b2fe63ca2e0194e708";
};
buildType = "ament_python";
checkInputs = [ pythonPackages.pytest ament-flake8 ament-copyright ament-pep257 ];
propagatedBuildInputs = [ python3Packages.pyyaml clang ];
meta = {
description = ''The ability to check code against style conventions using
clang-tidy and generate xUnit test result files.'';
license = with lib.licenses; [ asl20 ];
};
}