glaze: modernize

This commit is contained in:
Nikolay Korotkiy 2025-06-08 17:56:42 +04:00
parent a05544193c
commit c691e8174a
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -13,17 +13,17 @@ stdenv.mkDerivation (final: {
src = fetchFromGitHub {
owner = "stephenberry";
repo = "glaze";
rev = "v${final.version}";
tag = "v${final.version}";
hash = "sha256-AG6fnax9UZEhGtAUc8bgGijk8q7ge6lDTb0XjqL+kks=";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [ (lib.cmakeBool "glaze_ENABLE_AVX2" enableAvx2) ];
meta = with lib; {
meta = {
description = "Extremely fast, in memory, JSON and interface library for modern C++";
platforms = platforms.all;
maintainers = with maintainers; [ moni ];
license = licenses.mit;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ moni ];
license = lib.licenses.mit;
};
})