32 lines
670 B
Nix
32 lines
670 B
Nix
|
{
|
||
|
lib
|
||
|
, fetchFromGitHub
|
||
|
, buildGoModule
|
||
|
, xz
|
||
|
}:
|
||
|
|
||
|
buildGoModule rec {
|
||
|
pname = "payload-dumper";
|
||
|
version = "1.2.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "ssut";
|
||
|
repo = "payload-dumper-go";
|
||
|
rev = version;
|
||
|
sha256 = "1airc6pcv9m06g35jfxvwh5pr1cxhwndny22b0liwvp4hrc99chc";
|
||
|
};
|
||
|
|
||
|
vendorSha256 = "sha256-CqIZFMDN/kK9bT7b/32yQ9NJAQnkI8gZUMKa6MJCaec=";
|
||
|
|
||
|
#nativeBuildInputs = [ pkg-config ];
|
||
|
buildInputs = [ xz ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "an android OTA payload dumper written in Go";
|
||
|
homepage = "https://github.com/ssut/payload-dumper-go";
|
||
|
license = licenses.asl20;
|
||
|
maintainers = [];
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|