snagboot: move passthru before meta

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2023-09-20 08:34:58 -03:00 committed by Anderson Torres
parent 55f434b1d4
commit 0ee02d5b42

View file

@ -20,19 +20,6 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-OuHY5+2puZAERtwmXduUW5Wjus6KeQLJLcGcl48umLA="; hash = "sha256-OuHY5+2puZAERtwmXduUW5Wjus6KeQLJLcGcl48umLA=";
}; };
passthru = {
updateScript = gitUpdater {
rev-prefix = "v";
ignoredVersions = ".(rc|beta).*";
};
tests.version = testers.testVersion {
package = snagboot;
command = "snagrecover --version";
version = "v${version}";
};
};
nativeBuildInputs = [ nativeBuildInputs = [
pythonRelaxDepsHook pythonRelaxDepsHook
]; ];
@ -69,6 +56,19 @@ python3.pkgs.buildPythonApplication rec {
# There are no tests # There are no tests
doCheck = false; doCheck = false;
passthru = {
updateScript = gitUpdater {
rev-prefix = "v";
ignoredVersions = ".(rc|beta).*";
};
tests.version = testers.testVersion {
package = snagboot;
command = "snagrecover --version";
version = "v${version}";
};
};
meta = { meta = {
homepage = "https://github.com/bootlin/snagboot"; homepage = "https://github.com/bootlin/snagboot";
description = "Generic recovery and reflashing tool for embedded platforms"; description = "Generic recovery and reflashing tool for embedded platforms";