diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-12-26 22:34:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-26 22:34:19 +0100 |
commit | cacf372fa697eaa7b8bd6c0b5d77f6c226b854bc (patch) | |
tree | 5b67cbb698431a4e1f9b02550911e6277494a620 /pkgs/by-name | |
parent | 719483f4a866418d5ef889adbe11553828167ce7 (diff) | |
parent | f6b24b3b68df2694baff0680da6b69c1f8443cbc (diff) |
Merge pull request #275224 from br337/nixos-unstable
nlohmann_json_schema_validator: init at 2.3.0
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/nl/nlohmann_json_schema_validator/package.nix | 30 |
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 0000000000000..a6317b1f7b288 --- /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; + }; +}) |