nix-ros-overlay/distros/foxy/ament-index-cpp/default.nix

24 lines
804 B
Nix

# Copyright 2022 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common }:
buildRosPackage {
pname = "ros-foxy-ament-index-cpp";
version = "1.1.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_index-release/archive/release/foxy/ament_index_cpp/1.1.0-1.tar.gz";
name = "1.1.0-1.tar.gz";
sha256 = "be3cb84b6d21b9ef200735ad2837c86968f409d27c463c2534922794eafe2ef1";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''C++ API to access the ament resource index.'';
license = with lib.licenses; [ asl20 ];
};
}