mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 18:24:50 +03:00
27 lines
1 KiB
Nix
27 lines
1 KiB
Nix
|
|
# Copyright 2023 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-uncrustify }:
|
|
buildRosPackage {
|
|
pname = "ros-foxy-ament-cmake-uncrustify";
|
|
version = "0.9.8-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/foxy/ament_cmake_uncrustify/0.9.8-1.tar.gz";
|
|
name = "0.9.8-1.tar.gz";
|
|
sha256 = "fae17a07aa1e544bc067d83bf64a961f521d8fc288d344fb75ca54470769cb6b";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake-core ];
|
|
checkInputs = [ ament-cmake-copyright ament-cmake-lint-cmake ];
|
|
propagatedBuildInputs = [ ament-cmake-test ament-uncrustify ];
|
|
nativeBuildInputs = [ ament-cmake-core ament-cmake-test ament-uncrustify ];
|
|
|
|
meta = {
|
|
description = ''The CMake API for ament_uncrustify to check code against styleconventions
|
|
using uncrustify.'';
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|