diff --git a/pkgs/development/libraries/json-glib/default.nix b/pkgs/development/libraries/json-glib/default.nix index 8ce043cf02d4..1932f4736f9d 100644 --- a/pkgs/development/libraries/json-glib/default.nix +++ b/pkgs/development/libraries/json-glib/default.nix @@ -20,14 +20,14 @@ stdenv.mkDerivation rec { pname = "json-glib"; - version = "1.9.2"; + version = "1.10.0"; outputs = [ "out" "dev" "installedTests" ] ++ lib.optional withIntrospection "devdoc"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "j58E4ARb2oKv/UZO5XV5ZgD+KQFLgXOSo7cs6y0QxZU="; + sha256 = "G8qNZtlhBuzBR98xM7laW7eE8fpvFdBt18Go+0oQr3s="; }; patches = [ diff --git a/pkgs/development/libraries/json-glib/meson-add-installed-tests-prefix-option.patch b/pkgs/development/libraries/json-glib/meson-add-installed-tests-prefix-option.patch index 033ef2f30dbb..ae21471dd4c0 100644 --- a/pkgs/development/libraries/json-glib/meson-add-installed-tests-prefix-option.patch +++ b/pkgs/development/libraries/json-glib/meson-add-installed-tests-prefix-option.patch @@ -19,9 +19,9 @@ index 5a96998..383aa6c 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -13,3 +13,6 @@ option('tests', - option('nls', - type: 'feature', value: 'auto', yield: true, - description: 'Enable native language support (translations)') + option('installed_tests', + type: 'boolean', value: true, + description: 'Enable installed tests') +option('installed_test_prefix', + description: 'Prefix for installed tests', + type: 'string')