2018-07-25 13:54:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "simg2img";
|
2018-07-25 13:54:40 +01:00
|
|
|
version = "1.1.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "anestisb";
|
|
|
|
repo = "android-simg2img";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2018-07-25 13:54:40 +01:00
|
|
|
sha256 = "119gl9i61g2wr07hzv6mi1ihql6yd6pwq94ki2pgcpfbamv8f6si";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Tool to convert Android sparse images to raw images";
|
|
|
|
homepage = "https://github.com/anestisb/android-simg2img";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.dezgeg ];
|
|
|
|
};
|
|
|
|
}
|