1 { lib, stdenv, fetchurl, meson, ninja, glib, json-glib, pkg-config, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_43, gnome3 }:
2 stdenv.mkDerivation rec {
3 pname = "jsonrpc-glib";
6 outputs = [ "out" "dev" "devdoc" ];
8 nativeBuildInputs = [ meson ninja pkg-config gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_43 ];
9 buildInputs = [ glib json-glib ];
12 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
13 sha256 = "3F8ZFKkRUrcPqPyaEe3hMUirSvZE2yejZjI4jJJ6ioI=";
17 "-Denable_gtk_doc=true"
20 # Tests fail non-deterministically
21 # https://gitlab.gnome.org/GNOME/jsonrpc-glib/issues/2
25 updateScript = gnome3.updateScript {
31 description = "A library to communicate using the JSON-RPC 2.0 specification";
32 homepage = "https://gitlab.gnome.org/GNOME/jsonrpc-glib";
33 license = licenses.lgpl21Plus;
34 maintainers = teams.gnome.members;
35 platforms = platforms.unix;