mirror of
https://github.com/NixOS/nix.git
synced 2025-11-18 08:19:35 +01:00
nlohmann::json instance and JSON Schema for Hash
Improving and codifying our experimental JSON interfacing. Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
This commit is contained in:
parent
f05d240222
commit
5e7ee808de
16 changed files with 252 additions and 24 deletions
|
|
@ -20,6 +20,16 @@ schema_dir = meson.current_source_dir() / 'schema'
|
|||
|
||||
# Get all example files
|
||||
schemas = [
|
||||
{
|
||||
'stem' : 'hash',
|
||||
'schema' : schema_dir / 'hash-v1.yaml',
|
||||
'files' : [
|
||||
'sha256-base64.json',
|
||||
'sha256-base16.json',
|
||||
'sha256-nix32.json',
|
||||
'blake3-base64.json',
|
||||
],
|
||||
},
|
||||
{
|
||||
'stem' : 'derivation',
|
||||
'schema' : schema_dir / 'derivation-v3.yaml',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue