2023-06-19 17:15:23 -04:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2023-06-19 17:15:23 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, cmake }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-magic-enum";
|
2024-03-08 13:41:18 +00:00
|
|
|
version = "0.9.5-r2";
|
2023-06-19 17:15:23 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-03-08 13:41:18 +00:00
|
|
|
url = "https://github.com/ros2-gbp/magic_enum-release/archive/release/rolling/magic_enum/0.9.5-2.tar.gz";
|
|
|
|
name = "0.9.5-2.tar.gz";
|
|
|
|
sha256 = "3d01be1a650e8f72b57c87ba4e43bd3b42e2c8413dbb02fd6384eef5d17e33c6";
|
2023-06-19 17:15:23 -04: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 ];
|
|
|
|
};
|
|
|
|
}
|