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

27 lines
1.3 KiB
Nix
Raw Normal View History

# Copyright 2024 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-rolling-rcpputils";
version = "2.13.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rcpputils-release/archive/release/rolling/rcpputils/2.13.2-1.tar.gz";
name = "2.13.2-1.tar.gz";
sha256 = "acc7d424a5e4d030952ba2beaf97aa97fdcb09bd5feb92be8ee69b1817f6cd8e";
};
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 ];
};
}