jsonrpc-glib: 3.41.0 → 3.42.0
https://gitlab.gnome.org/GNOME/jsonrpc-glib/-/compare/3.41.0...3.42.0
This commit is contained in:
parent
82632f000e
commit
5c7c637f44
|
@ -1,18 +1,42 @@
|
||||||
{ lib, stdenv, fetchurl, meson, ninja, glib, json-glib, pkg-config, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_43, gnome }:
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchurl
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, glib
|
||||||
|
, json-glib
|
||||||
|
, pkg-config
|
||||||
|
, gobject-introspection
|
||||||
|
, vala
|
||||||
|
, gi-docgen
|
||||||
|
, gnome
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "jsonrpc-glib";
|
pname = "jsonrpc-glib";
|
||||||
version = "3.41.0";
|
version = "3.42.0";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_43 ];
|
|
||||||
buildInputs = [ glib json-glib ];
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "fE5qW4w3KWMs7MMS3BFjxNACQ9MukFKOVOxQOKI6fCE=";
|
sha256 = "IhmJpXyoKhJGfcQngizXZRsMrQOBQMkxAnvxB0IIJ2s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
gobject-introspection
|
||||||
|
vala
|
||||||
|
gi-docgen
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
json-glib
|
||||||
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Denable_gtk_doc=true"
|
"-Denable_gtk_doc=true"
|
||||||
];
|
];
|
||||||
|
@ -21,6 +45,11 @@ stdenv.mkDerivation rec {
|
||||||
# https://gitlab.gnome.org/GNOME/jsonrpc-glib/issues/2
|
# https://gitlab.gnome.org/GNOME/jsonrpc-glib/issues/2
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
|
||||||
|
moveToOutput "share/doc" "$devdoc"
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome.updateScript {
|
updateScript = gnome.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
|
Loading…
Reference in a new issue