2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python3,
|
|
|
|
}:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
python3.pkgs.buildPythonApplication {
|
2020-09-25 04:45:31 +00:00
|
|
|
pname = "ubidump";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0-unstable-2023-09-20";
|
|
|
|
pyproject = true;
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nlitsme";
|
2024-05-15 15:35:15 +00:00
|
|
|
repo = "ubidump";
|
|
|
|
rev = "c8cffcbb8c2d61ebece81dff643b8eccfe6d5642";
|
|
|
|
sha256 = "sha256-R568pV3bkdpNAexr8tfAbXVpvHEx/9r1KDWhDM+HyVg=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
dependencies = with python3.pkgs; [
|
|
|
|
setuptools # pkg_resources
|
|
|
|
python-lzo
|
|
|
|
crcmod
|
|
|
|
];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "View or extract the contents of UBIFS images";
|
|
|
|
homepage = "https://github.com/nlitsme/ubidump";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sgo ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "ubidump";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|