about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorBrian Porumb <brian.porumb@proton.me>2023-12-18 21:40:16 +0100
committerBrian Porumb <brian.porumb@proton.me>2023-12-22 11:21:49 +0100
commitf6b24b3b68df2694baff0680da6b69c1f8443cbc (patch)
treeaa2e9fb4ca373545a022444dfa8f0276225de11f /pkgs
parentd5f7b82092e276e67ca756a2df9e80fc9cb9ace2 (diff)
downloadnixlib-f6b24b3b68df2694baff0680da6b69c1f8443cbc.tar
nixlib-f6b24b3b68df2694baff0680da6b69c1f8443cbc.tar.gz
nixlib-f6b24b3b68df2694baff0680da6b69c1f8443cbc.tar.bz2
nixlib-f6b24b3b68df2694baff0680da6b69c1f8443cbc.tar.lz
nixlib-f6b24b3b68df2694baff0680da6b69c1f8443cbc.tar.xz
nixlib-f6b24b3b68df2694baff0680da6b69c1f8443cbc.tar.zst
nixlib-f6b24b3b68df2694baff0680da6b69c1f8443cbc.zip
nlohmann_json_schema_validator: init at 2.3.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/by-name/nl/nlohmann_json_schema_validator/package.nix30
1 files changed, 30 insertions, 0 deletions
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;
+  };
+})