mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
25 lines
938 B
Nix
25 lines
938 B
Nix
|
|
# Copyright 2021 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, clang, python3Packages, pythonPackages }:
|
|
buildRosPackage {
|
|
pname = "ros-dashing-ament-clang-format";
|
|
version = "0.7.12-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/dashing/ament_clang_format/0.7.12-1.tar.gz";
|
|
name = "0.7.12-1.tar.gz";
|
|
sha256 = "6f4784d6b8f3faa027ca8e31a33b2876ad271ce2a3ce4d79388fe6d3543a7fe4";
|
|
};
|
|
|
|
buildType = "ament_python";
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
|
|
propagatedBuildInputs = [ clang python3Packages.pyyaml ];
|
|
|
|
meta = {
|
|
description = ''The ability to check code against style conventions using
|
|
clang-format and generate xUnit test result files.'';
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|