json-glib: 1.6.6 → 1.8.0

https://gitlab.gnome.org/GNOME/json-glib/-/compare/1.6.6...1.8.0

NEWS look okay. xgettext is now optional.

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>

authored by Bobby Rong and committed by Jan Tojnar bdd0d54a 8de2a665

+7 -7
+2 -2
pkgs/development/libraries/json-glib/default.nix
··· 18 19 stdenv.mkDerivation rec { 20 pname = "json-glib"; 21 - version = "1.6.6"; 22 23 outputs = [ "out" "dev" "installedTests" ] 24 ++ lib.optional withIntrospection "devdoc"; 25 26 src = fetchurl { 27 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 - sha256 = "luyYvnqR9t3jNjZyDj2i/27LuQ52zKpJSX8xpoVaSQ4="; 29 }; 30 31 patches = [
··· 18 19 stdenv.mkDerivation rec { 20 pname = "json-glib"; 21 + version = "1.8.0"; 22 23 outputs = [ "out" "dev" "installedTests" ] 24 ++ lib.optional withIntrospection "devdoc"; 25 26 src = fetchurl { 27 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 + sha256 = "l+9euSyoEQOa1Qpl8GYz8armR5J4kwe+cXB5XYsxlFQ="; 29 }; 30 31 patches = [
+5 -5
pkgs/development/libraries/json-glib/meson-add-installed-tests-prefix-option.patch
··· 15 install_data(test_data, install_dir: installed_test_bindir) 16 17 diff --git a/meson_options.txt b/meson_options.txt 18 - index 068a03f..03f398a 100644 19 --- a/meson_options.txt 20 +++ b/meson_options.txt 21 - @@ -10,3 +10,6 @@ option('man', 22 - option('tests', 23 - type: 'boolean', value: true, 24 - description: 'Build the tests') 25 +option('installed_test_prefix', 26 + description: 'Prefix for installed tests', 27 + type: 'string')
··· 15 install_data(test_data, install_dir: installed_test_bindir) 16 17 diff --git a/meson_options.txt b/meson_options.txt 18 + index 5a96998..383aa6c 100644 19 --- a/meson_options.txt 20 +++ b/meson_options.txt 21 + @@ -13,3 +13,6 @@ option('tests', 22 + option('nls', 23 + type: 'feature', value: 'auto', yield: true, 24 + description: 'Enable native language support (translations)') 25 +option('installed_test_prefix', 26 + description: 'Prefix for installed tests', 27 + type: 'string')