nix-ros-overlay/distros/humble/ament-lint-common/default.nix

25 lines
1.2 KiB
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-cppcheck, ament-cmake-cpplint, ament-cmake-export-dependencies, ament-cmake-flake8, ament-cmake-lint-cmake, ament-cmake-pep257, ament-cmake-uncrustify, ament-cmake-xmllint }:
buildRosPackage {
pname = "ros-humble-ament-lint-common";
version = "0.12.12-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/humble/ament_lint_common/0.12.12-1.tar.gz";
name = "0.12.12-1.tar.gz";
sha256 = "88dc3ba773c42ca6741009a7e97c9b426c3aa90464d2eaec7d90c62b3753379e";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-export-dependencies ];
propagatedBuildInputs = [ ament-cmake-copyright ament-cmake-core ament-cmake-cppcheck ament-cmake-cpplint ament-cmake-flake8 ament-cmake-lint-cmake ament-cmake-pep257 ament-cmake-uncrustify ament-cmake-xmllint ];
nativeBuildInputs = [ ament-cmake-core ament-cmake-export-dependencies ];
meta = {
description = "The list of commonly used linters in the ament build system in CMake.";
license = with lib.licenses; [ asl20 ];
};
}