ubidump: unstable-2019-09-11 -> 0-unstable-2023-09-20

Diff: https://github.com/nlitsme/ubidump/compare/0691f1a9a38604c2baf8c9af6b826eb2632af74a...c8cffcbb8c2d61ebece81dff643b8eccfe6d5642

Nick Cao 86261903 6ae6cd34

+17 -25
+17 -25
pkgs/tools/filesystems/ubidump/default.nix
··· 1 - { lib, fetchFromGitHub, python3 }: 2 3 - python3.pkgs.buildPythonApplication rec { 4 - 5 pname = "ubidump"; 6 - version = "unstable-2019-09-11"; 7 - format = "other"; 8 9 src = fetchFromGitHub { 10 owner = "nlitsme"; 11 - repo = pname; 12 - rev = "0691f1a9a38604c2baf8c9af6b826eb2632af74a"; 13 - sha256 = "1hiivlgni4r3nd5n2rzl5qzw6y2wpjpmyls5lybrc8imd6rmj3w2"; 14 }; 15 16 - propagatedBuildInputs = with python3.pkgs; [ crcmod python-lzo setuptools ]; 17 - 18 - dontBuild = true; 19 20 - patchPhase = '' 21 - sed -i '1s;^;#!${python3.interpreter}\n;' ubidump.py 22 - patchShebangs ubidump.py 23 - ''; 24 - 25 - installPhase = '' 26 - install -D -m755 ubidump.py $out/bin/ubidump 27 - wrapProgram $out/bin/ubidump --set PYTHONPATH $PYTHONPATH 28 - ''; 29 - 30 - installCheckPhase = '' 31 - $out/bin/ubidump -h > /dev/null 32 - ''; 33 34 meta = with lib; { 35 description = "View or extract the contents of UBIFS images"; ··· 39 mainProgram = "ubidump"; 40 }; 41 } 42 -
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + python3, 5 + }: 6 7 + python3.pkgs.buildPythonApplication { 8 pname = "ubidump"; 9 + version = "0-unstable-2023-09-20"; 10 + pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "nlitsme"; 14 + repo = "ubidump"; 15 + rev = "c8cffcbb8c2d61ebece81dff643b8eccfe6d5642"; 16 + sha256 = "sha256-R568pV3bkdpNAexr8tfAbXVpvHEx/9r1KDWhDM+HyVg="; 17 }; 18 19 + build-system = with python3.pkgs; [ setuptools ]; 20 21 + dependencies = with python3.pkgs; [ 22 + setuptools # pkg_resources 23 + python-lzo 24 + crcmod 25 + ]; 26 27 meta = with lib; { 28 description = "View or extract the contents of UBIFS images"; ··· 32 mainProgram = "ubidump"; 33 }; 34 }