mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-24 15:59:54 +03:00
25 lines
938 B
Nix
25 lines
938 B
Nix
|
|
# 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.11-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/dashing/ament_clang_format/0.7.11-1.tar.gz";
|
|
name = "0.7.11-1.tar.gz";
|
|
sha256 = "6d7a29da79ad1e1ac88a05de27963b0c2b9e302f8aa5d5c513e876f774d541dd";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|