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
|
, glib, dbus, udev, libgudev, udisks2, libgcrypt, libcap, polkit
|
||||||
, libgphoto2, avahi, libarchive, fuse, libcdio, file, bzip2, lzma
|
, libgphoto2, avahi, libarchive, fuse, libcdio, file, bzip2, lzma
|
||||||
, libxml2, libxslt, docbook_xsl, docbook_xml_dtd_42, samba, libmtp
|
, libxml2, libxslt, docbook_xsl, docbook_xml_dtd_42, samba, libmtp
|
||||||
, gnomeSupport ? false, gnome, makeWrapper }:
|
, gnomeSupport ? false, gnome, makeWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
ver_maj = "1.34";
|
pname = "gvfs";
|
||||||
version = "${ver_maj}.1";
|
version = "1.34.1";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gvfs-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
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";
|
sha256 = "1d3j6f252mk316hrspwy63inrhxk6l78l4bmlmql401lqapb5yby";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -43,9 +43,16 @@ stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Virtual Filesystem support library" + optionalString gnomeSupport " (full GNOME support)";
|
description = "Virtual Filesystem support library" + optionalString gnomeSupport " (full GNOME support)";
|
||||||
|
license = licenses.lgpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.lethalman ];
|
maintainers = [ maintainers.lethalman ] ++ gnome3.maintainers;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user