mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 17:54:49 +03:00
26 lines
1 KiB
Nix
26 lines
1 KiB
Nix
|
|
# Copyright 2024 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-iron-ament-cmake-clang-format";
|
|
version = "0.14.4-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/iron/ament_cmake_clang_format/0.14.4-1.tar.gz";
|
|
name = "0.14.4-1.tar.gz";
|
|
sha256 = "f3024f17704a96608ed52d5b93b7bbe405d68808b96184e4281723b617d70f6d";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake-core ];
|
|
checkInputs = [ ament-cmake-copyright ament-cmake-lint-cmake ];
|
|
propagatedBuildInputs = [ ament-clang-format ament-cmake-test ];
|
|
nativeBuildInputs = [ ament-clang-format 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 ];
|
|
};
|
|
}
|