File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
pkgs/development/libraries/magic-enum Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 22, lib
33, stdenv
44, cmake
5+ , nix-update-script
6+ , testers
7+ , magic-enum
58} :
69stdenv . mkDerivation rec {
710 pname = "magic-enum" ;
8- version = "0.9.5 " ;
11+ version = "0.9.6 " ;
912
1013 src = fetchFromGitHub {
1114 owner = "Neargye" ;
1215 repo = "magic_enum" ;
1316 rev = "refs/tags/v${ version } " ;
14- hash = "sha256-Q82HdlEMXpiGISnqdjFd0rxiLgsobsoWiqqGLawu2pM =" ;
17+ hash = "sha256-1pO9FWd0InXqg8+lwRF3YNFTAeVLjqoI9v15LjWxnZY =" ;
1518 } ;
1619
1720 nativeBuildInputs = [ cmake ] ;
@@ -24,11 +27,16 @@ stdenv.mkDerivation rec{
2427 "-DCMAKE_INSTALL_LIBDIR=lib"
2528 ] ;
2629
27- meta = with lib ; {
30+ passthru = {
31+ updateScript = nix-update-script { } ;
32+ tests . version = testers . testVersion { package = magic-enum ; } ;
33+ } ;
34+
35+ meta = {
2836 description = "Static reflection for enums (to string, from string, iteration) for modern C++" ;
2937 homepage = "https://github.com/Neargye/magic_enum" ;
3038 changelog = "https://github.com/Neargye/magic_enum/releases/tag/v${ version } " ;
31- license = licenses . mit ;
32- maintainers = with maintainers ; [ Alper-Celik ] ;
39+ license = lib . licenses . mit ;
40+ maintainers = with lib . maintainers ; [ Alper-Celik ] ;
3341 } ;
3442}
You can’t perform that action at this time.
0 commit comments