1 { stdenv, lib, fetchFromGitHub, python3Packages }:
3 python3Packages.buildPythonApplication {
5 version = "unstable-2021-11-09";
7 src = fetchFromGitHub {
10 rev = "b432c988a412c06ff24d196132e354712fc18929";
11 sha256 = "sha256-NCbf9H0hoJgeDtP6cQY0H280BQqgKXv3ConZ87QixVY=";
16 install -D $src/sdat2img.py $out/bin/sdat2img
20 description = "Convert sparse Android data image (.dat) into filesystem ext4 image (.img)";
21 homepage = "https://github.com/xpirt/sdat2img";
22 license = lib.licenses.mit;
23 maintainers = [ lib.maintainers.xaverdh ];
24 platforms = lib.platforms.unix;