gvfs: add updateScript
This commit is contained in:
parent
990036c599
commit
1dacd66a77
@ -1,18 +1,18 @@
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, libtool
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, libtool, gnome3
|
||||
, glib, dbus, udev, libgudev, udisks2, libgcrypt, libcap, polkit
|
||||
, libgphoto2, avahi, libarchive, fuse, libcdio, file, bzip2, lzma
|
||||
, libxml2, libxslt, docbook_xsl, docbook_xml_dtd_42, samba, libmtp
|
||||
, gnomeSupport ? false, gnome, makeWrapper }:
|
||||
|
||||
let
|
||||
ver_maj = "1.34";
|
||||
version = "${ver_maj}.1";
|
||||
pname = "gvfs";
|
||||
version = "1.34.1";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gvfs-${version}";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gvfs/${ver_maj}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||
sha256 = "1d3j6f252mk316hrspwy63inrhxk6l78l4bmlmql401lqapb5yby";
|
||||
};
|
||||
|
||||
@ -43,9 +43,16 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Virtual Filesystem support library" + optionalString gnomeSupport " (full GNOME support)";
|
||||
license = licenses.lgpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.lethalman ];
|
||||
maintainers = [ maintainers.lethalman ] ++ gnome3.maintainers;
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user