magic-enum: 0.8.5 -> 0.9.5
Diff: https://github.com/Neargye/magic_enum/compare/refs/tags/v0.8.5...v0.9.5 Changelog: https://github.com/Neargye/magic_enum/releases/tag/v0.9.5
This commit is contained in:
parent
41298a0dff
commit
cdc62d93a5
1 changed files with 10 additions and 7 deletions
|
@ -5,26 +5,29 @@
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec{
|
stdenv.mkDerivation rec{
|
||||||
pname = "magic-enum";
|
pname = "magic-enum";
|
||||||
version = "0.8.2";
|
version = "0.9.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Neargye";
|
owner = "Neargye";
|
||||||
repo = "magic_enum";
|
repo = "magic_enum";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-k4zCEQxO0N/o1hDYxw5p9u0BMwP/5oIoe/4yw7oqEo0=";
|
hash = "sha256-Q82HdlEMXpiGISnqdjFd0rxiLgsobsoWiqqGLawu2pM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
# disable tests until upstream fixes build issues with gcc 12
|
|
||||||
# see https://github.com/Neargye/magic_enum/issues/235
|
|
||||||
doCheck = false;
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DMAGIC_ENUM_OPT_BUILD_TESTS=OFF"
|
# the cmake package does not handle absolute CMAKE_INSTALL_INCLUDEDIR correctly
|
||||||
|
# (setting it to an absolute path causes include files to go to $out/$out/include,
|
||||||
|
# because the absolute path is interpreted with root at $out).
|
||||||
|
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
||||||
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib;{
|
meta = with lib;{
|
||||||
description = "Static reflection for enums (to string, from string, iteration) for modern C++";
|
description = "Static reflection for enums (to string, from string, iteration) for modern C++";
|
||||||
homepage = "https://github.com/Neargye/magic_enum";
|
homepage = "https://github.com/Neargye/magic_enum";
|
||||||
|
changelog = "https://github.com/Neargye/magic_enum/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ Alper-Celik ];
|
maintainers = with maintainers; [ Alper-Celik ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue