nixpkgs/pkgs/tools/filesystems/simg2img/default.nix

26 lines
618 B
Nix
Raw Normal View History

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