nixpkgs/pkgs/development/libraries/yyjson/default.nix
Federico Damián Schonborn 91a2510d05
maintainers: drop federicoschonborn
Signed-off-by: Federico Damián Schonborn <federicoschonborn@disroot.org>
2024-03-13 16:21:10 -03:00

30 lines
628 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; [ ];
};
})