Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / nl / nlohmann_json_schema_validator / package.nix
bloba6317b1f7b288e1dc0e70cc08223062c64ff0551
1 { stdenv
2 , lib
3 , fetchFromGitHub
4 , nlohmann_json
5 , cmake
6 }:
7 stdenv.mkDerivation (finalAttrs: {
8   pname = "nlohmann_json_schema_validator";
9   version = "2.3.0";
11   outputs = [ "out" "dev" ];
13   src = fetchFromGitHub {
14     owner = "pboettch";
15     repo = "json-schema-validator";
16     rev = finalAttrs.version;
17     hash = "sha256-Ybr5dNmjBBPTYPvgorJ6t2+zvAjxYQISWXJmgUVHBVE=";
18   };
20   buildInputs = [ nlohmann_json ];
21   nativeBuildInputs = [ cmake ];
23   meta = {
24     description = "JSON schema validator for JSON for Modern C++";
25     homepage = "https://github.com/pboettch/json-schema-validator";
26     license = lib.licenses.mit;
27     maintainers = with lib.maintainers; [ br337 ];
28     platforms = lib.platforms.all;
29   };