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