mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 13:40:32 +03:00
25 lines
975 B
Nix
25 lines
975 B
Nix
|
|
# Copyright 2020 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-clang-format, ament-cmake-copyright, ament-cmake-core, ament-cmake-lint-cmake, ament-cmake-test }:
|
|
buildRosPackage {
|
|
pname = "ros-crystal-ament-cmake-clang-format";
|
|
version = "0.6.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/crystal/ament_cmake_clang_format/0.6.4-0.tar.gz";
|
|
name = "0.6.4-0.tar.gz";
|
|
sha256 = "31b14d3d99e6605e48b154a34ed51adeef553da71755edcbddcc3b79a1afcc70";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
checkInputs = [ ament-cmake-copyright ament-cmake-lint-cmake ];
|
|
propagatedBuildInputs = [ ament-clang-format ament-cmake-test ];
|
|
nativeBuildInputs = [ ament-cmake-core ament-cmake-test ];
|
|
|
|
meta = {
|
|
description = ''The CMake API for ament_clang_format to lint C / C++ code using clang format.'';
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|