summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-01-30 23:51:16 -0500
committerDavid Thompson <dthompson2@worcester.edu>2015-01-30 23:51:16 -0500
commit16001bd47e035475888f5bb1396a4a3d48a20084 (patch)
treec14cf95e146f1e4b826a579ab3320beb2e1a87a9
parent8f00bede78e2585426a16e8160a40970c4c89e3c (diff)
Use JavaScript naming conventions for package JSON fields.
* guix-web/view/json.scm (package->json): Change 'native-inputs' to 'nativeInputs'. Change 'propagated-inputs' to 'propagatedInputs'.
-rw-r--r--guix-web/view/json.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix-web/view/json.scm b/guix-web/view/json.scm
index fd279ad..8896c9d 100644
--- a/guix-web/view/json.scm
+++ b/guix-web/view/json.scm
@@ -60,9 +60,9 @@
("license" ,(serialize-license package))
,@(if serialize-inputs?
`(("inputs" ,(serialize-inputs (package-inputs package)))
- ("native-inputs" ,(serialize-inputs
+ ("nativeInputs" ,(serialize-inputs
(package-native-inputs package)))
- ("propagated-inputs" ,(serialize-inputs
+ ("propagatedInputs" ,(serialize-inputs
(package-propagated-inputs package))))
'()))))