r128gain: add update script
This commit is contained in:
parent
05739ad406
commit
d742cff4bb
@ -1,6 +1,8 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, genericUpdater
|
||||||
, substituteAll
|
, substituteAll
|
||||||
|
, common-updater-scripts
|
||||||
, ffmpeg_3
|
, ffmpeg_3
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, sox
|
, sox
|
||||||
@ -33,6 +35,13 @@ python3Packages.buildPythonApplication rec {
|
|||||||
# sandbox to be disabled.
|
# sandbox to be disabled.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = genericUpdater {
|
||||||
|
inherit pname version;
|
||||||
|
versionLister = "${common-updater-scripts}/bin/list-git-tags ${src.meta.homepage}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Fast audio loudness scanner & tagger (ReplayGain v2 / R128)";
|
description = "Fast audio loudness scanner & tagger (ReplayGain v2 / R128)";
|
||||||
homepage = "https://github.com/desbma/r128gain";
|
homepage = "https://github.com/desbma/r128gain";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user