Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
34 lines
762 B
Nix
34 lines
762 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication {
|
|
pname = "ubidump";
|
|
version = "0-unstable-2023-09-20";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nlitsme";
|
|
repo = "ubidump";
|
|
rev = "c8cffcbb8c2d61ebece81dff643b8eccfe6d5642";
|
|
sha256 = "sha256-R568pV3bkdpNAexr8tfAbXVpvHEx/9r1KDWhDM+HyVg=";
|
|
};
|
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
setuptools # pkg_resources
|
|
python-lzo
|
|
crcmod
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "View or extract the contents of UBIFS images";
|
|
homepage = "https://github.com/nlitsme/ubidump";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ sgo ];
|
|
mainProgram = "ubidump";
|
|
};
|
|
}
|