From 0ee02d5b428714ffd66fed882c691b6a83be4a5c Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Wed, 20 Sep 2023 08:34:58 -0300 Subject: [PATCH] snagboot: move passthru before meta Signed-off-by: Otavio Salvador --- pkgs/applications/misc/snagboot/default.nix | 26 ++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pkgs/applications/misc/snagboot/default.nix b/pkgs/applications/misc/snagboot/default.nix index 94c5a747492a..61c906ec464a 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";