Merge pull request #275224 from br337/nixos-unstable
nlohmann_json_schema_validator: init at 2.3.0
This commit is contained in:
commit
cacf372fa6
2 changed files with 36 additions and 0 deletions
|
@ -2623,6 +2623,12 @@
|
|||
fingerprint = "F549 3B7F 9372 5578 FDD3 D0B8 A1BC 8428 323E CFE8";
|
||||
}];
|
||||
};
|
||||
br337 = {
|
||||
email = "brian.porumb@proton.me";
|
||||
github = "br337";
|
||||
githubId = 49288125;
|
||||
name = "Brian Porumb";
|
||||
};
|
||||
bradediger = {
|
||||
email = "brad@bradediger.com";
|
||||
github = "bradediger";
|
||||
|
|
30
pkgs/by-name/nl/nlohmann_json_schema_validator/package.nix
Normal file
30
pkgs/by-name/nl/nlohmann_json_schema_validator/package.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ 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;
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue