mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
27 lines
1 KiB
Nix
27 lines
1 KiB
Nix
|
|
# Copyright 2025 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-vendor-package, ament-lint-auto, ament-lint-common, spdlog }:
|
|
buildRosPackage {
|
|
pname = "ros-rolling-spdlog-vendor";
|
|
version = "1.7.0-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/spdlog_vendor-release/archive/release/rolling/spdlog_vendor/1.7.0-1.tar.gz";
|
|
name = "1.7.0-1.tar.gz";
|
|
sha256 = "e4cf6e111d3d6b907315dfcedb311ba0d0f032fc3e85c1d5d1f7bdafcb33a2d3";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake ament-cmake-vendor-package ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ spdlog ];
|
|
nativeBuildInputs = [ ament-cmake ament-cmake-vendor-package ];
|
|
|
|
meta = {
|
|
description = "Wrapper around spdlog, providing nothing but a dependency on spdlog, on some systems.
|
|
On others, it provides an ExternalProject build of spdlog.";
|
|
license = with lib.licenses; [ asl20 mit ];
|
|
};
|
|
}
|