glib-networking: add updateScript
This commit is contained in:
parent
095029263d
commit
99142d6f81
@ -1,15 +1,15 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, intltool, gnutls, libproxy
|
{ stdenv, fetchurl, pkgconfig, glib, intltool, gnutls, libproxy, gnome3
|
||||||
, gsettings-desktop-schemas }:
|
, gsettings-desktop-schemas }:
|
||||||
|
|
||||||
let
|
let
|
||||||
ver_maj = "2.54";
|
pname = "glib-networking";
|
||||||
ver_min = "1";
|
version = "2.54.1";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "glib-networking-${ver_maj}.${ver_min}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/glib-networking/${ver_maj}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "0bq16m9nh3gcz9x2fvygr0iwxd2pxcbrm3lj3kihsnh1afv8g9za";
|
sha256 = "0bq16m9nh3gcz9x2fvygr0iwxd2pxcbrm3lj3kihsnh1afv8g9za";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -31,6 +31,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = false; # tests need to access the certificates (among other things)
|
doCheck = false; # tests need to access the certificates (among other things)
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Network-related giomodules for glib";
|
description = "Network-related giomodules for glib";
|
||||||
license = licenses.lgpl2Plus;
|
license = licenses.lgpl2Plus;
|
||||||
|
Loading…
Reference in New Issue
Block a user