packages: Init payload-dumper
This commit is contained in:
parent
5f0a413b90
commit
9b8e0c4fd7
@ -147,4 +147,6 @@ key-mapper = prev.callPackage ./tools/games/key-mapper {};
|
|||||||
|
|
||||||
sound-gambit = prev.callPackage tools/audio/sound-gambit {};
|
sound-gambit = prev.callPackage tools/audio/sound-gambit {};
|
||||||
ebu-norm = prev.callPackage tools/audio/ebu-norm {};
|
ebu-norm = prev.callPackage tools/audio/ebu-norm {};
|
||||||
|
|
||||||
|
payload-dumper = prev.callPackage tools/system/payload-dumper {};
|
||||||
}
|
}
|
||||||
|
31
packages/tools/system/payload-dumper/default.nix
Normal file
31
packages/tools/system/payload-dumper/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user