r128gain: add update script

This commit is contained in:
Aluísio Augusto Silva Gonçalves 2020-09-30 16:30:08 -03:00
parent 05739ad406
commit d742cff4bb
No known key found for this signature in database
GPG Key ID: DA6EA2FACDB1CBD2

View File

@ -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";