diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-09-20 08:34:58 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-09-21 08:16:55 -0300 |
commit | 0ee02d5b428714ffd66fed882c691b6a83be4a5c (patch) | |
tree | d4c0b6674fb8d3c41c4a4934e3025224bec85b94 /pkgs/applications/misc/snagboot | |
parent | 55f434b1d4e370bb2d059fa865795b6f42fad8c8 (diff) |
snagboot: move passthru before meta
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'pkgs/applications/misc/snagboot')
-rw-r--r-- | pkgs/applications/misc/snagboot/default.nix | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/pkgs/applications/misc/snagboot/default.nix b/pkgs/applications/misc/snagboot/default.nix index 94c5a747492a4..61c906ec464ac 100644 --- a/pkgs/applications/misc/snagboot/default.nix +++ b/pkgs/applications/misc/snagboot/default.nix @@ -20,19 +20,6 @@ python3.pkgs.buildPythonApplication rec { 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 = [ pythonRelaxDepsHook ]; @@ -69,6 +56,19 @@ python3.pkgs.buildPythonApplication rec { # There are no tests doCheck = false; + passthru = { + updateScript = gitUpdater { + rev-prefix = "v"; + ignoredVersions = ".(rc|beta).*"; + }; + + tests.version = testers.testVersion { + package = snagboot; + command = "snagrecover --version"; + version = "v${version}"; + }; + }; + meta = { homepage = "https://github.com/bootlin/snagboot"; description = "Generic recovery and reflashing tool for embedded platforms"; |