nixpkgs/pkgs/tools/filesystems/jefferson/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
816 B
Nix
Raw Normal View History

2023-02-23 13:38:50 +00:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "jefferson";
version = "0.4.5";
2023-02-23 13:38:50 +00:00
format = "pyproject";
src = fetchFromGitHub {
owner = "onekey-sec";
repo = pname;
rev = "v${version}";
hash = "sha256-PGtrvZ0cQvdiswn2Bk43c3LbIZqJyvNe5rnTPw/ipUM=";
2023-02-23 13:38:50 +00:00
};
nativeBuildInputs = with python3.pkgs; [
poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
click
cstruct
lzallright
2023-02-23 13:38:50 +00:00
];
pythonImportsCheck = [
"jefferson"
];
# upstream has no tests
doCheck = false;
meta = with lib; {
description = "JFFS2 filesystem extraction tool";
homepage = "https://github.com/onekey-sec/jefferson";
license = licenses.mit;
2023-05-22 20:10:54 +00:00
maintainers = with maintainers; [ tnias vlaci ];
2023-11-23 21:09:35 +00:00
mainProgram = "jefferson";
2023-02-23 13:38:50 +00:00
};
}