nix-ros-overlay/distros/rolling/zenoh-cpp-vendor/default.nix

25 lines
818 B
Nix
Raw Permalink Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-vendor-package, cargo, clang, git }:
buildRosPackage {
pname = "ros-rolling-zenoh-cpp-vendor";
version = "0.7.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rmw_zenoh-release/archive/release/rolling/zenoh_cpp_vendor/0.7.0-1.tar.gz";
name = "0.7.0-1.tar.gz";
sha256 = "08126c4f078c43aa78a0b4989ed6b9d2f5803998a5c2733c6a91d3dbfecbb5f8";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-vendor-package cargo clang git ];
nativeBuildInputs = [ ament-cmake ament-cmake-vendor-package ];
meta = {
description = "Vendor pkg to install zenoh-cpp";
license = with lib.licenses; [ asl20 ];
};
}