mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 00:57:53 +00:00
nlohmann_json_schema_validator: init at 2.3.0
This commit is contained in:
parent
d5f7b82092
commit
f6b24b3b68
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 New Issue
Block a user