nix-ros-overlay/distros/humble/ament-cmake-cpplint/default.nix

27 lines
1,004 B
Nix
Raw Normal View History

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-copyright, ament-cmake-core, ament-cmake-lint-cmake, ament-cmake-test, ament-cpplint }:
buildRosPackage {
pname = "ros-humble-ament-cmake-cpplint";
version = "0.12.10-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/humble/ament_cmake_cpplint/0.12.10-1.tar.gz";
name = "0.12.10-1.tar.gz";
sha256 = "631534e26ec62304b1e8116c9a58bd9202058ee68199b938646aa3e03113bd86";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-core ];
checkInputs = [ ament-cmake-copyright ament-cmake-lint-cmake ];
propagatedBuildInputs = [ ament-cmake-test ament-cpplint ];
nativeBuildInputs = [ ament-cmake-core ament-cmake-test ament-cpplint ];
meta = {
description = ''The CMake API for ament_cpplint to lint C / C++ code using cpplint.'';
license = with lib.licenses; [ asl20 ];
};
}