2024-05-24 14:00:52 +00:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2024-05-24 14:00:52 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, cmake }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-jazzy-magic-enum";
|
2024-08-16 13:54:37 +00:00
|
|
|
version = "0.9.6-r1";
|
2024-05-24 14:00:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-08-16 13:54:37 +00:00
|
|
|
url = "https://github.com/ros2-gbp/magic_enum-release/archive/release/jazzy/magic_enum/0.9.6-1.tar.gz";
|
|
|
|
name = "0.9.6-1.tar.gz";
|
|
|
|
sha256 = "3eb33164931dcd0599e1df1c31f4919e532b95bbed92336608b48a26253cb587";
|
2024-05-24 14:00:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "cmake";
|
|
|
|
buildInputs = [ cmake ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Static reflection for enums (to string, from string, iteration) for modern C++,
|
|
|
|
work with any enum type without any macro or boilerplate code";
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
};
|
|
|
|
}
|