Unverified Commit 2e88ded1 authored by Moritz Sanft's avatar Moritz Sanft Committed by GitHub
Browse files

jefferson: 0.4.5 -> 0.4.6 (#381213)

parents 2d555e41 e6da6a19
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  gitUpdater,
  python3,
}:

python3.pkgs.buildPythonApplication rec {
  pname = "jefferson";
  version = "0.4.5";
  version = "0.4.6";
  format = "pyproject";
  disabled = python3.pkgs.pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "onekey-sec";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-PGtrvZ0cQvdiswn2Bk43c3LbIZqJyvNe5rnTPw/ipUM=";
    hash = "sha256-6eh4i9N3aArU8+W8K341pp9J0QYEojDiMrEc8yax4SY=";
  };

  nativeBuildInputs = with python3.pkgs; [
@@ -26,8 +28,6 @@ python3.pkgs.buildPythonApplication rec {
    lzallright
  ];

  pythonRelaxDeps = [ "cstruct" ];

  pythonImportsCheck = [
    "jefferson"
  ];
@@ -35,6 +35,10 @@ python3.pkgs.buildPythonApplication rec {
  # upstream has no tests
  doCheck = false;

  passthru = {
    updateScript = gitUpdater { rev-prefix = "v"; };
  };

  meta = with lib; {
    description = "JFFS2 filesystem extraction tool";
    homepage = "https://github.com/onekey-sec/jefferson";