nixpkgs-suyu/pkgs/development/libraries/jsonrpc-glib/default.nix

38 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, meson, ninja, glib, json-glib, pkgconfig, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_43, gnome3 }:
2018-12-14 20:42:43 +01:00
stdenv.mkDerivation rec {
2018-12-14 20:36:19 +01:00
pname = "jsonrpc-glib";
2019-09-02 18:53:36 +02:00
version = "3.33.3";
2017-12-31 15:47:59 +01:00
outputs = [ "out" "dev" "devdoc" ];
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_43 ];
2017-12-31 15:47:59 +01:00
buildInputs = [ glib json-glib ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2019-09-02 18:53:36 +02:00
sha256 = "03vni35vxhajpgcaz104fzpzgs1yw6lc78d0bz1q1b1yi1b0807q";
2017-12-31 15:47:59 +01:00
};
mesonFlags = [
"-Denable_gtk_doc=true"
];
# Tests fail non-deterministically
# https://gitlab.gnome.org/GNOME/jsonrpc-glib/issues/2
doCheck = false;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
description = "A library to communicate using the JSON-RPC 2.0 specification";
homepage = https://gitlab.gnome.org/GNOME/jsonrpc-glib;
license = licenses.lgpl21Plus;
maintainers = gnome3.maintainers;
platforms = platforms.unix;
};
}