divnix / grafonnix

Grafonnet implementation in Nix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grafonnix

Implementation of grafonnet in nix.

Usage

Most functions return POP objects that are extendable with functions within the object or any other POP extension methods.

For example to create a new row:

r = lib.row.new {}

Then panels can be added with:

r.addPanel { { ... } }

Implementation

The goal is for the code to be as close to grafonnet as possible within the feature set of nix. POP is used to return objects wherever possible, because nix doesn't have a native object system like jsonnet does.

About

Grafonnet implementation in Nix

License:MIT License


Languages

Language:Nix 100.0%