summary refs log tree commit diff
path: root/pkgs/desktops/mate/mate-tweak
diff options
context:
space:
mode:
authorJosé Romildo <malaquias@gmail.com>2022-02-20 22:11:49 -0300
committerJosé Romildo <malaquias@gmail.com>2022-02-21 13:01:49 -0300
commitba59355e8105035382b2f4056a97b1ffcd1bb70a (patch)
treeec5ac6cc16144a581e5913ce032320c2d3d2a4bf /pkgs/desktops/mate/mate-tweak
parent60966b5a6ebfb22b16c1400b28eb0f668a0412d3 (diff)
downloadnixpkgs-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/mate/mate-tweak')
-rw-r--r--pkgs/desktops/mate/mate-tweak/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/desktops/mate/mate-tweak/default.nix b/pkgs/desktops/mate/mate-tweak/default.nix
index ebac46692c0..e0fc06135e1 100644
--- a/pkgs/desktops/mate/mate-tweak/default.nix
+++ b/pkgs/desktops/mate/mate-tweak/default.nix
@@ -9,8 +9,7 @@
 , gobject-introspection
 , wrapGAppsHook
 , glib
-, genericUpdater
-, common-updater-scripts
+, gitUpdater
 }:
 
 python3Packages.buildPythonApplication rec {
@@ -74,10 +73,9 @@ python3Packages.buildPythonApplication rec {
     done
   '';
 
-  passthru.updateScript = genericUpdater {
+  passthru.updateScript = gitUpdater {
     inherit pname version;
     attrPath = "mate.${pname}";
-    versionLister = "${common-updater-scripts}/bin/list-git-tags ${src.meta.homepage}";
   };
 
   meta = with lib; {