2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, zlib }:
|
2018-07-25 13:54:40 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "simg2img";
|
2020-03-16 08:51:21 +00:00
|
|
|
version = "1.1.4";
|
2018-07-25 13:54:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "anestisb";
|
|
|
|
repo = "android-simg2img";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2020-03-16 08:51:21 +00:00
|
|
|
sha256 = "1xm9kaqs2w8c7a4psv78gv66gild88mpgjn5lj087d7jh1jxy7bf";
|
2018-07-25 13:54:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-07-25 13:54:40 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|