graph: Backend must have name and description.
authorRicardo Wurmus <rekado@elephly.net>
Thu, 20 Oct 2016 06:47:03 +0000 (08:47 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Wed, 14 Dec 2016 20:43:06 +0000 (21:43 +0100)
commit51377437a1e37c9d5f2e137528e9c278b252d781
tree91c2e1b1e0935f53b8ec16d468f47eade1f74823
parent089f385a21806c00785fb0817e6ea590a5dd1412
graph: Backend must have name and description.

* guix/graph.scm (<graph-backend>): Add fields "name" and "description".
(%graphviz-backend): Provide values for name and description.
(export-graph): Ignore name and description when matching backends.
(graph-backend-name, graph-backend-description): New procedures.
* tests/graph.scm (make-recording-backend): Initialize name and
description fields of test graph-backend.
guix/graph.scm
tests/graph.scm