depot/third_party/nixpkgs/pkgs/tools/filesystems/simg2img/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

25 lines
618 B
Nix

{ lib, stdenv, fetchFromGitHub, zlib }:
stdenv.mkDerivation rec {
pname = "simg2img";
version = "1.1.4";
src = fetchFromGitHub {
owner = "anestisb";
repo = "android-simg2img";
rev = version;
sha256 = "1xm9kaqs2w8c7a4psv78gv66gild88mpgjn5lj087d7jh1jxy7bf";
};
buildInputs = [ zlib ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with 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 ];
};
}