Commit 0ee02d5b authored by Otavio Salvador's avatar Otavio Salvador Committed by Anderson Torres
Browse files

snagboot: move passthru before meta

parent 55f434b1
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
@@ -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";