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/applications/video/shotcut/default.nix | |
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/applications/video/shotcut/default.nix')
-rw-r--r-- | pkgs/applications/video/shotcut/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/video/shotcut/default.nix b/pkgs/applications/video/shotcut/default.nix index 3b6116d5a06..e996ae92d21 100644 --- a/pkgs/applications/video/shotcut/default.nix +++ b/pkgs/applications/video/shotcut/default.nix @@ -17,8 +17,7 @@ , qtgraphicaleffects , qmake , qttools -, genericUpdater -, common-updater-scripts +, gitUpdater }: assert lib.versionAtLeast mlt.version "6.24.0"; @@ -76,9 +75,8 @@ mkDerivation rec { cp -r src/qml $out/share/shotcut/ ''; - passthru.updateScript = genericUpdater { + passthru.updateScript = gitUpdater { inherit pname version; - versionLister = "${common-updater-scripts}/bin/list-git-tags ${src.meta.homepage}"; rev-prefix = "v"; }; |