push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
{
fetchurl,
lib,
newCatalog,
}:
newCatalog {
name = "json-patch-schemastore";
displayName = "JSON Patch as maintained by the https://www.schemastore.org community";
version = "2024-11-26";
groups = {
"JSON Patch" = {
"https://json.schemastore.org/json-patch.json" = fetchurl {
name = "json-patch-schema";
# Note that we don't use the json.schemastore.org URLs directly, as those are mutable resources.
# Make sure to update the version above!
url = "https://github.com/schemastore/schemastore/raw/138439cd4f9d7bf57d6747b674ce5bbcffbfafdc/src/schemas/json/json-patch.json";
hash = "sha256-vrqlgvlU61aEO6jd1SLLEqJDZG1k+eTBozcyPmhUp2U=";
};
};
};
extraDescription = ''
A JSON Patch is a sequence of editing and checking operations to perform against another JSON document.
It is specified in IETF RFC 6902: https://datatracker.ietf.org/doc/html/rfc6902/
The schema is maintained by the community at https://www.schemastore.org, which is a collection of JSON Schemas for various purposes.
'';
meta = {
maintainers = with lib.maintainers; [ roberth ];
license = lib.licenses.asl20;
changelog = "https://github.com/schemastore/schemastore/commits/master/src/schemas/json/json-patch.json";
};
}

View File

@@ -0,0 +1,39 @@
{
fetchurl,
lib,
newCatalog,
}:
newCatalog {
name = "json-schema";
displayName = "JSON Schema Metaschemas";
groups = {
"JSON Schema" = {
"http://json-schema.org/draft-04/schema#" = fetchurl {
name = "json-schema-draft-04";
url = "https://json-schema.org/draft-04/schema";
hash = "sha256-4UidC0dV8CeTMCWR0/y48Htok6gqlPJIlfjk7fEbguI=";
};
"http://json-schema.org/draft-06/schema#" = fetchurl {
name = "json-schema-draft-06";
url = "https://json-schema.org/draft-06/schema";
hash = "sha256-AGTogLohS/8c7lEeZ4++SMmCbdNZ6R4kI/w23mey6+E=";
};
"http://json-schema.org/draft-07/schema#" = fetchurl {
name = "json-schema-draft-07";
url = "https://json-schema.org/draft-07/schema";
hash = "sha256-aS4dFl5Hr8tfEbLOHGOWNf+oNANdbstrzzCHSB2uhAQ=";
};
# Unclear how newer metaschemas should be handled, so leaving them out for now.
# https://github.com/roberth/json-schema-catalog-rs/issues/8
};
};
meta = {
maintainers = with lib.maintainers; [ roberth ];
# https://github.com/json-schema-org/json-schema-spec/blob/main/LICENSE
license = [
lib.licenses.bsd3
lib.licenses.afl3
];
};
}