aboutsummaryrefslogtreecommitdiff
path: root/pkgs/desktops/xfce/thunar-plugins
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2020-04-13 18:12:16 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2020-04-15 09:45:25 -0300
commit06ba312152e99b9254a0950a97667b6c0ad2996e (patch)
treea9338b7b622db8acf49b091aa6c6b663ae01341f /pkgs/desktops/xfce/thunar-plugins
parent8162d76b18e17552f885ab01d9b9302707fd70c8 (diff)
xfce: add update scripts to xfce packages
Diffstat (limited to 'pkgs/desktops/xfce/thunar-plugins')
-rw-r--r--pkgs/desktops/xfce/thunar-plugins/archive/default.nix3
-rw-r--r--pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix7
2 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/desktops/xfce/thunar-plugins/archive/default.nix b/pkgs/desktops/xfce/thunar-plugins/archive/default.nix
index e3c72d3b50e2..6b255dc72012 100644
--- a/pkgs/desktops/xfce/thunar-plugins/archive/default.nix
+++ b/pkgs/desktops/xfce/thunar-plugins/archive/default.nix
@@ -1,6 +1,5 @@
{ stdenv
, mkXfceDerivation
-, fetchFromGitHub
, gtk3
, thunar
, exo
@@ -9,7 +8,7 @@
, gettext
}:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "thunar-plugins";
pname = "thunar-archive-plugin";
version = "0.4.0";
diff --git a/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix b/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix
index 8674c586552c..61e9d94acc5d 100644
--- a/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix
+++ b/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix
@@ -5,6 +5,7 @@
, thunar
, cmake
, ninja
+, xfce
}:
stdenv.mkDerivation rec {
@@ -31,6 +32,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
+ passthru.updateScript = xfce.updateScript {
+ inherit pname version;
+ attrPath = "xfce.thunar-dropbox-plugin";
+ versionLister = xfce.gitLister src.meta.homepage;
+ };
+
meta = with stdenv.lib; {
homepage = "https://github.com/Jeinzi/thunar-dropbox";
description = "A plugin that adds context-menu items for Dropbox to Thunar";