2019-09-02 14:19:36 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
, glib
|
|
|
|
, gettext
|
|
|
|
, python3
|
|
|
|
, gnutls
|
|
|
|
, p11-kit
|
|
|
|
, libproxy
|
|
|
|
, gnome3
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
}:
|
2011-04-15 06:24:06 +01:00
|
|
|
|
2019-09-02 14:19:36 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 01:40:53 +00:00
|
|
|
pname = "glib-networking";
|
2019-06-17 01:19:34 +01:00
|
|
|
version = "2.60.3";
|
2012-03-09 06:18:42 +00:00
|
|
|
|
2011-04-15 06:24:06 +01:00
|
|
|
src = fetchurl {
|
2019-09-02 14:19:36 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-06-17 01:19:34 +01:00
|
|
|
sha256 = "1mfw44qpmwvz6yzj8c6spx6z357wrmkk15byrkc5byagd82860fm";
|
2011-04-15 06:24:06 +01:00
|
|
|
};
|
|
|
|
|
2018-03-14 02:46:24 +00:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs meson_post_install.py
|
2011-04-15 06:24:06 +01:00
|
|
|
'';
|
|
|
|
|
2018-09-03 19:11:20 +01:00
|
|
|
nativeBuildInputs = [
|
2019-09-02 14:19:36 +01:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
gettext
|
|
|
|
python3 # for install_script
|
|
|
|
];
|
|
|
|
|
2019-09-02 17:50:24 +01:00
|
|
|
buildInputs = [
|
2019-09-02 14:19:36 +01:00
|
|
|
glib
|
|
|
|
gnutls
|
|
|
|
p11-kit
|
|
|
|
libproxy
|
|
|
|
gsettings-desktop-schemas
|
2018-09-03 19:11:20 +01:00
|
|
|
];
|
2018-01-07 13:18:40 +00:00
|
|
|
|
2014-03-11 20:55:52 +00:00
|
|
|
doCheck = false; # tests need to access the certificates (among other things)
|
|
|
|
|
2018-03-03 01:40:53 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-03-11 20:55:52 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Network-related giomodules for glib";
|
2019-09-02 14:24:12 +01:00
|
|
|
homepage = https://gitlab.gnome.org/GNOME/glib-networking;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = gnome3.maintainers;
|
2014-03-11 20:55:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2011-04-15 06:24:06 +01:00
|
|
|
}
|