nix-ros-overlay/distros/humble/rcpputils/default.nix

26 lines
1.2 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-copyright, ament-cmake-cppcheck, ament-cmake-cpplint, ament-cmake-flake8, ament-cmake-gen-version-h, ament-cmake-gtest, ament-cmake-lint-cmake, ament-cmake-pep257, ament-cmake-ros, ament-cmake-uncrustify, ament-cmake-xmllint, rcutils }:
buildRosPackage {
pname = "ros-humble-rcpputils";
version = "2.4.5-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rcpputils-release/archive/release/humble/rcpputils/2.4.5-1.tar.gz";
name = "2.4.5-1.tar.gz";
sha256 = "108add0031e0f2a685614f54dd42a2e3f940709194133f4f9567a054a7831936";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-gen-version-h ament-cmake-ros ];
checkInputs = [ ament-cmake-copyright ament-cmake-cppcheck ament-cmake-cpplint ament-cmake-flake8 ament-cmake-gtest ament-cmake-lint-cmake ament-cmake-pep257 ament-cmake-uncrustify ament-cmake-xmllint ];
propagatedBuildInputs = [ rcutils ];
nativeBuildInputs = [ ament-cmake ament-cmake-gen-version-h ament-cmake-ros ];
meta = {
description = "Package containing utility code for C++.";
license = with lib.licenses; [ asl20 bsd3 ];
};
}