tweag / nixpkgs-graph-explorer

Explore the nixpkgs dependency graph
MIT License
15 stars 0 forks source link

Add core package with data model and JSON schema #56

Closed dorranh closed 1 year ago

dorranh commented 1 year ago

This PR adds a new package called core which defines our core data model used to represent the dependency tree extracted from nixpkgs. This can be used by the utility in #42 for constructing its output.

As discussed with @GuillaumeDesforges, I've checked the generated JSON schema into the repo for downstream users to use. We will want to add a CI step checking that it is up to date in the future.