From d5f7b82092e276e67ca756a2df9e80fc9cb9ace2 Mon Sep 17 00:00:00 2001 From: Brian Porumb Date: Mon, 18 Dec 2023 21:39:20 +0100 Subject: [PATCH 1/2] maintainers: add br337 Fixed attribute order in maintainers list --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 43c7e681e6a8..7986e81954ca 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2615,6 +2615,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"; From f6b24b3b68df2694baff0680da6b69c1f8443cbc Mon Sep 17 00:00:00 2001 From: Brian Porumb Date: Mon, 18 Dec 2023 21:40:16 +0100 Subject: [PATCH 2/2] nlohmann_json_schema_validator: init at 2.3.0 --- .../package.nix | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/by-name/nl/nlohmann_json_schema_validator/package.nix diff --git a/pkgs/by-name/nl/nlohmann_json_schema_validator/package.nix b/pkgs/by-name/nl/nlohmann_json_schema_validator/package.nix new file mode 100644 index 000000000000..a6317b1f7b28 --- /dev/null +++ b/pkgs/by-name/nl/nlohmann_json_schema_validator/package.nix @@ -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; + }; +})