depot/third_party/nixpkgs/pkgs/development/libraries/yyjson/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

29 lines
646 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation (finalAttrs: {
pname = "yyjson";
version = "0.8.0";
src = fetchFromGitHub {
owner = "ibireme";
repo = "yyjson";
rev = finalAttrs.version;
hash = "sha256-uAh/AUUDudQr+1+3YLkg9KxARgvKWxfDZlqo8388nFY=";
};
nativeBuildInputs = [
cmake
];
meta = with lib; {
description = "The fastest JSON library in C";
homepage = "https://github.com/ibireme/yyjson";
changelog = "https://github.com/ibireme/yyjson/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ federicoschonborn ];
};
})