at 23.11-beta 29 lines 646 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, cmake 5}: 6 7stdenv.mkDerivation (finalAttrs: { 8 pname = "yyjson"; 9 version = "0.8.0"; 10 11 src = fetchFromGitHub { 12 owner = "ibireme"; 13 repo = "yyjson"; 14 rev = finalAttrs.version; 15 hash = "sha256-uAh/AUUDudQr+1+3YLkg9KxARgvKWxfDZlqo8388nFY="; 16 }; 17 18 nativeBuildInputs = [ 19 cmake 20 ]; 21 22 meta = with lib; { 23 description = "The fastest JSON library in C"; 24 homepage = "https://github.com/ibireme/yyjson"; 25 changelog = "https://github.com/ibireme/yyjson/blob/${finalAttrs.src.rev}/CHANGELOG.md"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ federicoschonborn ]; 28 }; 29})