24 lines
739 B
Nix
24 lines
739 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "jsoncons";
|
|
version = "0.175.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "danielaparker";
|
|
repo = "jsoncons";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-pLOKgZx3f0Jka0Tm3SBC1JlQ2Rc3ViPgmXRbjgF4UXI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
description = "A C++, header-only library for constructing JSON and JSON-like data formats";
|
|
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;
|
|
};
|
|
})
|