summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2015-01-19 23:05:10 +0100
committerAndreas Enge <andreas@enge.fr>2015-01-19 23:05:58 +0100
commit109da1c08233b59563ab093aae84fceef2555ea5 (patch)
treea97a66f7dbbc856b1d1f9d8d139ccf1be8025603 /gnu
parent7d24363f09e70e169f23460697525dff6f2f8b3e (diff)
gnu: Add json-glib.
* gnu/packages/gnome.scm (json-glib): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnome.scm30
1 files changed, 29 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 408ba4e8168..4ffd1321efb 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Andreas Enge <andreas@enge.fr> 2;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org> 3;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
4;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net> 4;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
5;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org> 5;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
@@ -1424,3 +1424,31 @@ editors, IDEs, etc.")
1424is to provide a backend to GSettings on platforms that don't already have 1424is to provide a backend to GSettings on platforms that don't already have
1425configuration storage systems.") 1425configuration storage systems.")
1426 (license license:lgpl2.1))) 1426 (license license:lgpl2.1)))
1427
1428(define-public json-glib
1429 (package
1430 (name "json-glib")
1431 (version "1.0.2")
1432 (source (origin
1433 (method url-fetch)
1434 (uri (string-append "mirror://gnome/sources/" name "/"
1435 (version-major+minor version) "/"
1436 name "-" version ".tar.xz"))
1437 (sha256
1438 (base32
1439 "02k66lpc4cmgygj66n8zcy59bggy7yzm3v4hni9xqplgva9d2yw8"))))
1440 (build-system gnu-build-system)
1441 (native-inputs
1442 `(("glib" ,glib "bin") ; for glib-mkenums and glib-genmarshal
1443 ("gobject-introspection" ,gobject-introspection)
1444 ("pkg-config" ,pkg-config)))
1445 (propagated-inputs
1446 `(("glib" ,glib))) ; according to json-glib-1.0.pc
1447 (home-page "https://wiki.gnome.org/Projects/JsonGlib")
1448 (synopsis "Compiler for the GObject type system")
1449 (description "JSON-GLib is a C library based on GLib providing
1450serialization and deserialization support for the JavaScript Object Notation
1451(JSON) format described by RFC 4627. It provides parser and generator
1452GObject classes and various wrappers for the complex data types employed by
1453JSON, such as arrays and objects.")
1454 (license license:lgpl2.1+)))