From d742cff4bb1ea304c0f68f73223812535a022d54 Mon Sep 17 00:00:00 2001 From: Aluísio Augusto Silva Gonçalves Date: Wed, 30 Sep 2020 16:30:08 -0300 Subject: r128gain: add update script --- pkgs/applications/audio/r128gain/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pkgs/applications') diff --git a/pkgs/applications/audio/r128gain/default.nix b/pkgs/applications/audio/r128gain/default.nix index 17f6840d4e2..0d664da76af 100644 --- a/pkgs/applications/audio/r128gain/default.nix +++ b/pkgs/applications/audio/r128gain/default.nix @@ -1,6 +1,8 @@ { lib , fetchFromGitHub +, genericUpdater , substituteAll +, common-updater-scripts , ffmpeg_3 , python3Packages , sox @@ -33,6 +35,13 @@ python3Packages.buildPythonApplication rec { # sandbox to be disabled. doCheck = false; + passthru = { + updateScript = genericUpdater { + inherit pname version; + versionLister = "${common-updater-scripts}/bin/list-git-tags ${src.meta.homepage}"; + }; + }; + meta = with lib; { description = "Fast audio loudness scanner & tagger (ReplayGain v2 / R128)"; homepage = "https://github.com/desbma/r128gain"; -- cgit 1.4.1