3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #214537 from Alper-Celik/master

magic-enum: init at 0.8.2
This commit is contained in:
Nick Cao 2023-02-06 07:00:18 +08:00 committed by GitHub
commit a496bbedc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 0 deletions

View file

@ -693,6 +693,15 @@
fingerprint = "7FDB 17B3 C29B 5BA6 E5A9 8BB2 9FAA 63E0 9750 6D9D";
}];
};
Alper-Celik = {
email = "dev.alpercelik@gmail.com";
name = "Alper Çelik";
github = "Alper-Celik";
githubId = 110625473;
keys = [{
fingerprint = "6B69 19DD CEE0 FAF3 5C9F 2984 FA90 C0AB 738A B873";
}];
};
almac = {
email = "alma.cemerlic@gmail.com";
github = "a1mac";

View file

@ -0,0 +1,26 @@
{ 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 ];
};
}

View file

@ -22018,6 +22018,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;