json-glib: 1.4.2 → 1.4.4

This commit is contained in:
Jan Tojnar 2018-09-26 04:56:02 +02:00
parent f6ad14a50e
commit 21505290ee
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,30 +1,22 @@
{ stdenv, fetchurl, fetchpatch, glib, meson, ninja, pkgconfig, gettext
{ stdenv, fetchurl, glib, meson, ninja, pkgconfig, gettext
, gobjectIntrospection, fixDarwinDylibNames, gnome3
}:
let
pname = "json-glib";
version = "1.4.2";
version = "1.4.4";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "2d7709a44749c7318599a6829322e081915bdc73f5be5045882ed120bb686dc8";
sha256 = "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j";
};
propagatedBuildInputs = [ glib ];
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ];
buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
patches = [
# https://gitlab.gnome.org/GNOME/json-glib/issues/27
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/json-glib/merge_requests/2.diff";
sha256 = "0pf006jxj1ki7a0w4ykxm6b24m0wafrhpdcmixsw9x83m227156c";
})
];
outputs = [ "out" "dev" ];
doCheck = true;