Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 30 lines 673 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, cmake 5}: 6 7stdenv.mkDerivation (finalAttrs: { 8 pname = "yyjson"; 9 version = "0.10.0"; 10 11 src = fetchFromGitHub { 12 owner = "ibireme"; 13 repo = "yyjson"; 14 rev = finalAttrs.version; 15 hash = "sha256-mp9Oz08qTyhj3P6F1d81SX96vamUY/JWpD2DTYR+v04="; 16 }; 17 18 nativeBuildInputs = [ 19 cmake 20 ]; 21 22 meta = { 23 description = "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 = lib.licenses.mit; 27 maintainers = with lib.maintainers; [ sigmanificient ]; 28 platforms = lib.platforms.all; 29 }; 30})