2024-02-09 15:55:46 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "jsoncons";
|
2024-06-11 03:51:29 +00:00
|
|
|
version = "0.176.0";
|
2024-02-09 15:55:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "danielaparker";
|
|
|
|
repo = "jsoncons";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-06-11 03:51:29 +00:00
|
|
|
hash = "sha256-RDF5HL6utM/6wna1TxCefl7X8B1qp6nsEDrguTLrtgA=";
|
2024-02-09 15:55:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "C++, header-only library for constructing JSON and JSON-like data formats";
|
2024-02-09 15:55:46 +00:00
|
|
|
homepage = "https://danielaparker.github.io/jsoncons/";
|
|
|
|
changelog = "https://github.com/danielaparker/jsoncons/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
|
|
|
license = licenses.boost;
|
|
|
|
maintainers = with maintainers; [ sikmir ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
})
|