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

26 lines
1,001 B
Nix

# Copyright 2025 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-rolling-ament-cmake-cpplint";
version = "0.19.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/rolling/ament_cmake_cpplint/0.19.1-1.tar.gz";
name = "0.19.1-1.tar.gz";
sha256 = "54eed66a2171dc1270b50d056eae0e15442f1bbb5ab81da127a6f174d350e3f0";
};
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 ];
};
}