depot/pkgs/tools/filesystems/ubidump/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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";
};
}