diff options
author | José Romildo <malaquias@gmail.com> | 2022-02-20 22:11:49 -0300 |
---|---|---|
committer | José Romildo <malaquias@gmail.com> | 2022-02-21 13:01:49 -0300 |
commit | ba59355e8105035382b2f4056a97b1ffcd1bb70a (patch) | |
tree | ec5ac6cc16144a581e5913ce032320c2d3d2a4bf /pkgs/desktops/xfce/thunar-plugins | |
parent | 60966b5a6ebfb22b16c1400b28eb0f668a0412d3 (diff) | |
download | nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.tar nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.tar.gz nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.tar.bz2 nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.tar.lz nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.tar.xz nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.tar.zst nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.zip |
gitUpdater: init
- Add the 'gitUpdater' helper function to update git based packages, using the 'genericUpdater' function. - Rework argument passing to the `list-git-tags' and 'list-archive-two-level-versions' scripts. - Replace 'genericUpdater' plus 'list-git-tags' by 'gitUpdater'
Diffstat (limited to 'pkgs/desktops/xfce/thunar-plugins')
-rw-r--r-- | pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix b/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix index 75ef2491fe1..e056c90a550 100644 --- a/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix +++ b/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix @@ -6,6 +6,7 @@ , cmake , ninja , xfce +, gitUpdater }: stdenv.mkDerivation rec { @@ -30,10 +31,9 @@ stdenv.mkDerivation rec { gtk3 ]; - passthru.updateScript = xfce.updateScript { + passthru.updateScript = gitUpdater { inherit pname version; attrPath = "xfce.thunar-dropbox-plugin"; - versionLister = xfce.gitLister src.meta.homepage; }; meta = with lib; { |