Unverified Commit 9b668e07 authored by Alper Çelik's avatar Alper Çelik
Browse files

magic-enum: init at 0.8.2

parent f75b994a
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
{ fetchFromGitHub
, lib
, stdenv
, cmake
}:
stdenv.mkDerivation rec{
  pname = "magic-enum";
  version = "0.8.2";
  src = fetchFromGitHub {
    owner = "Neargye";
    repo = "magic_enum";
    rev = "v${version}";
    sha256 = "sha256-k4zCEQxO0N/o1hDYxw5p9u0BMwP/5oIoe/4yw7oqEo0=";
  };

  nativeBuildInputs = [ cmake ];

  doCheck = true;

  meta = with lib;{
    description = "Static reflection for enums (to string, from string, iteration) for modern C++";
    homepage = "https://github.com/Neargye/magic_enum";
    license = licenses.mit;
    maintainers = with maintainers; [ Alper-Celik ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -22001,6 +22001,8 @@ with pkgs;
  opencl-clang = callPackage ../development/libraries/opencl-clang { };
  magic-enum = callPackage ../development/libraries/magic-enum { };
  mapnik = callPackage ../development/libraries/mapnik {
    harfbuzz = harfbuzz.override {
      withIcu = true;