nixpkgs/pkgs/development/libraries/yyjson/default.nix
Federico Damián Schonborn 7334ff95e0 yyjson: init at 0.7.0
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
2023-08-19 13:08:17 +00:00

30 lines
646 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation (finalAttrs: {
pname = "yyjson";
version = "0.7.0";
src = fetchFromGitHub {
owner = "ibireme";
repo = "yyjson";
rev = finalAttrs.version;
hash = "sha256-Cz8K+cWuDpoMY6d+ecuOvXIMc4wtx15LLvxpFibkNyw=";
};
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 ];
};
})