2016-06-16 17:42:15 -07:00
|
|
|
{ stdenv, fetchurl, glib, pkgconfig, gobjectIntrospection, dbus, libintlOrEmpty }:
|
2010-09-27 04:18:28 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-30 08:28:08 -07:00
|
|
|
name = "json-glib-${minVer}.0";
|
|
|
|
minVer = "1.2";
|
2010-09-27 04:18:28 -07:00
|
|
|
|
2015-04-04 22:22:12 -07:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/json-glib/${minVer}/${name}.tar.xz";
|
2016-03-30 08:28:08 -07:00
|
|
|
sha256 = "1lx7p1c7cl21byvfgw92n8dhm09vi6qxrs0zkx9dg3y096zdzmlr";
|
2010-09-27 04:18:28 -07:00
|
|
|
};
|
|
|
|
|
2015-04-04 22:22:12 -07:00
|
|
|
configureflags= "--with-introspection";
|
2013-12-12 10:41:51 -08:00
|
|
|
|
2014-01-19 14:14:11 -08:00
|
|
|
propagatedBuildInputs = [ glib gobjectIntrospection ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-06-16 17:42:15 -07:00
|
|
|
buildInputs = libintlOrEmpty;
|
|
|
|
|
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
2010-09-27 04:18:28 -07:00
|
|
|
|
2014-05-19 01:55:16 -07:00
|
|
|
meta = with stdenv.lib; {
|
2010-09-27 04:18:28 -07:00
|
|
|
homepage = http://live.gnome.org/JsonGlib;
|
|
|
|
description = "A library providing (de)serialization support for the JavaScript Object Notation (JSON) format";
|
2014-05-19 01:55:16 -07:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = with maintainers; [ lethalman ];
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = with platforms; unix;
|
2010-09-27 04:18:28 -07:00
|
|
|
};
|
|
|
|
}
|