Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 1.3 kB view raw
1{ 2 fetchurl, 3 lib, 4 newCatalog, 5}: 6 7newCatalog { 8 name = "json-patch-schemastore"; 9 displayName = "JSON Patch as maintained by the https://www.schemastore.org community"; 10 version = "2024-11-26"; 11 groups = { 12 "JSON Patch" = { 13 "https://json.schemastore.org/json-patch.json" = fetchurl { 14 name = "json-patch-schema"; 15 # Note that we don't use the json.schemastore.org URLs directly, as those are mutable resources. 16 # Make sure to update the version above! 17 url = "https://github.com/schemastore/schemastore/raw/138439cd4f9d7bf57d6747b674ce5bbcffbfafdc/src/schemas/json/json-patch.json"; 18 hash = "sha256-vrqlgvlU61aEO6jd1SLLEqJDZG1k+eTBozcyPmhUp2U="; 19 }; 20 }; 21 }; 22 extraDescription = '' 23 A JSON Patch is a sequence of editing and checking operations to perform against another JSON document. 24 It is specified in IETF RFC 6902: https://datatracker.ietf.org/doc/html/rfc6902/ 25 26 The schema is maintained by the community at https://www.schemastore.org, which is a collection of JSON Schemas for various purposes. 27 ''; 28 meta = { 29 maintainers = with lib.maintainers; [ roberth ]; 30 license = lib.licenses.asl20; 31 changelog = "https://github.com/schemastore/schemastore/commits/master/src/schemas/json/json-patch.json"; 32 }; 33}