From 944aebb46abfaa16321b42a095c729a0d04ae68d Mon Sep 17 00:00:00 2001 From: Anadon Date: Thu, 14 Jan 2021 08:25:01 +0100 Subject: gnu: Add magic-enum. * gnu/packages/cpp.scm (magic-enum): New variable. Signed-off-by: Leo Prikler --- gnu/packages/cpp.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 45d3faeafb..03b84efdc8 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -808,3 +808,24 @@ code will be mixed in with the actual programming logic. This implementation provides a number of utilities to make coding with expected cleaner.") (home-page "https://tl.tartanllama.xyz/") (license license:cc0))) + +(define-public magic-enum + (package + (name "magic-enum") + (version "0.7.2") + (home-page "https://github.com/Neargye/magic_enum") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 + "07j5zdf3vkliwrcv6k663k35akn7qp23794sz2mnvkj9hbv9s8cx")))) + (build-system cmake-build-system) + (native-inputs + `(("gcc" ,gcc-9))) + (synopsis "C++17 header only library for compile time reflection of enums") + (description "Magic Enum offers static reflection of enums, with +conversions to and from strings, iteration and related functionality.") + (license license:expat))) -- cgit v1.2.3 543f4b3df79bb202b36f6b1aa09e97c22f4c'>diff
AgeCommit message (Expand)Author
2019-10-04gnu: vdirsyncer: Skip tests....Efraim Flashner
2019-05-24gnu: Move Sphinx and friends to (gnu packages sphinx)....Marius Bakke
2019-01-15gnu: Separate Python core packages from the rest....Ricardo Wurmus
2018-11-30radicale: Update to 1.1.6....Eric Bavier
2018-07-20gnu: vdirsyncer: Update to 0.16.7....Leo Famulari
2018-07-17gnu: vdirsyncer: Return #t from all phases....Efraim Flashner
2018-07-17gnu: vdirsyncer: Update home-page....Efraim Flashner
2018-06-14gnu: vdirsyncer: Update to 0.6.6....Leo Famulari
2018-02-08gnu: vdirsyncer: Update to 0.16.4....Leo Famulari
2017-11-17gnu: Move testing packages from python.scm to check.scm....Ricardo Wurmus
2017-11-13gnu: Move web packages from python to python-web....Ludovic Courtès
2017-10-03gnu: vdirsyncer: Update to 0.16.3....Leo Famulari
2017-09-01gnu: vdirsyncer: Update to 0.16.2....Leo Famulari
2017-08-10gnu: vdirsyncer: Update to 0.16.1....Tobias Geerinckx-Rice
2017-07-02gnu: vdirsyncer: Update to 0.16.0....Leo Famulari
2017-04-30gnu: radicale: Update to 1.1.2 [fixes CVE-2017-8342]....Leo Famulari
2017-03-01gnu: vdirsyncer: Update to 0.15.0....Leo Famulari
2017-02-18gnu: vdirsyncer: Use add-installed-pythonpath in the check phase....Leo Famulari
2017-02-18gnu: vdirsyncer: Don't fail the test suite when the build machine is slow....Leo Famulari