forked from mirrors/nixpkgs
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 }:
|
||||
|
||||
let
|
||||
ver_maj = "2.54";
|
||||
ver_min = "1";
|
||||
pname = "glib-networking";
|
||||
version = "2.54.1";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glib-networking-${ver_maj}.${ver_min}";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
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";
|
||||
};
|
||||
|
||||
|
@ -31,6 +31,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
doCheck = false; # tests need to access the certificates (among other things)
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Network-related giomodules for glib";
|
||||
license = licenses.lgpl2Plus;
|
||||
|
|
Loading…
Reference in a new issue