snagboot: move passthru before meta
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
55f434b1d4
commit
0ee02d5b42
1 changed files with 13 additions and 13 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue