16 , gsettings-desktop-schemas
19 stdenv.mkDerivation rec {
20 pname = "glib-networking";
23 outputs = [ "out" "installedTests" ];
26 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
27 sha256 = "16807qwflbghp0c66jdx2gnaffvdp4bla35ppzp9dlgx6wjbxmy5";
32 src = ./hardcode-gsettings.patch;
33 gds_gsettings_path = glib.getSchemaPath gsettings-desktop-schemas;
36 ./installed-tests-path.patch
40 chmod +x meson_post_install.py # patchShebangs requires executable file
41 patchShebangs meson_post_install.py
50 python3 # for install_script
58 gsettings-desktop-schemas
61 doCheck = false; # tests need to access the certificates (among other things)
64 "-Dinstalled_tests=true"
65 "-Dinstalled_test_prefix=${placeholder "installedTests"}"
69 find "$installedTests/libexec" "$out/libexec" -type f -executable -print0 \
70 | while IFS= read -r -d "" file; do
71 echo "Wrapping program '$file'"
72 wrapProgram "$file" --prefix GIO_EXTRA_MODULES : "$out/lib/gio/modules"
77 updateScript = gnome3.updateScript {
82 installedTests = nixosTests.installed-tests.glib-networking;
87 description = "Network-related giomodules for glib";
88 homepage = "https://gitlab.gnome.org/GNOME/glib-networking";
89 license = licenses.lgpl21Plus;
90 maintainers = teams.gnome.members;
91 platforms = platforms.unix;