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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
648 B
Nix
Raw Permalink Normal View History

{ lib, stdenv, fetchFromGitHub, zlib }:
2018-07-25 14:54:40 +02:00
stdenv.mkDerivation rec {
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)" "DEP_CXX:=$(CXX)" ];
2018-07-25 14:54:40 +02: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.unix;
maintainers = with maintainers; [ dezgeg arkivm ];
2018-07-25 14:54:40 +02:00
};
}