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

26 lines
995 B
Nix

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