forked from mirrors/nixpkgs
Merge pull request #214537 from Alper-Celik/master
magic-enum: init at 0.8.2
This commit is contained in:
commit
a496bbedc5
|
@ -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";
|
||||
|
|
26
pkgs/development/libraries/magic-enum/default.nix
Normal file
26
pkgs/development/libraries/magic-enum/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue