nix-ros-overlay/distros/humble/pybind11-json-vendor/default.nix

25 lines
842 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, git, nlohmann_json, pybind11-vendor }:
buildRosPackage {
pname = "ros-humble-pybind11-json-vendor";
version = "0.2.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/pybind11_json_vendor-release/archive/release/humble/pybind11_json_vendor/0.2.3-1.tar.gz";
name = "0.2.3-1.tar.gz";
sha256 = "f1a0d4ee90be43e270c4b1c1a57801c26a6e360a13bc2974d46801d225a4c8df";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake git ];
propagatedBuildInputs = [ nlohmann_json pybind11-vendor ];
nativeBuildInputs = [ ament-cmake git ];
meta = {
description = "A vendor package for pybind11_json for Modern C++";
license = with lib.licenses; [ asl20 ];
};
}