runInLinuxVM: fix simple build (#378580)
[NixPkgs.git] / pkgs / tools / filesystems / ubidump / default.nix
blob72ef56fa47f8e85e04c74a9f54ce21a1b47194dd
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication {
8   pname = "ubidump";
9   version = "0-unstable-2023-09-20";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "nlitsme";
14     repo = "ubidump";
15     rev = "c8cffcbb8c2d61ebece81dff643b8eccfe6d5642";
16     sha256 = "sha256-R568pV3bkdpNAexr8tfAbXVpvHEx/9r1KDWhDM+HyVg=";
17   };
19   build-system = with python3.pkgs; [ setuptools ];
21   dependencies = with python3.pkgs; [
22     setuptools # pkg_resources
23     python-lzo
24     crcmod
25   ];
27   meta = with lib; {
28     description = "View or extract the contents of UBIFS images";
29     homepage = "https://github.com/nlitsme/ubidump";
30     license = licenses.mit;
31     maintainers = with maintainers; [ sgo ];
32     mainProgram = "ubidump";
33   };