Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
737 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
stdenv,
lib,
fetchFromGitHub,
nlohmann_json,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "nlohmann_json_schema_validator";
version = "2.3.0";
outputs = [
"out"
"dev"
];
src = fetchFromGitHub {
owner = "pboettch";
repo = "json-schema-validator";
rev = finalAttrs.version;
hash = "sha256-Ybr5dNmjBBPTYPvgorJ6t2+zvAjxYQISWXJmgUVHBVE=";
};
buildInputs = [ nlohmann_json ];
nativeBuildInputs = [ cmake ];
meta = {
description = "JSON schema validator for JSON for Modern C++";
homepage = "https://github.com/pboettch/json-schema-validator";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ br337 ];
platforms = lib.platforms.all;
};
})