about summary refs log tree commit diff
path: root/pkgs/applications/misc/snagboot
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2023-09-20 08:34:58 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-09-21 08:16:55 -0300
commit0ee02d5b428714ffd66fed882c691b6a83be4a5c (patch)
treed4c0b6674fb8d3c41c4a4934e3025224bec85b94 /pkgs/applications/misc/snagboot
parent55f434b1d4e370bb2d059fa865795b6f42fad8c8 (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.nix26
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";