depot/third_party/nixpkgs/pkgs/tools/archivers/payload-dumper-go/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

30 lines
759 B
Nix
Executable file

{ lib
, buildGoModule
, fetchFromGitHub
, xz
}:
buildGoModule rec {
pname = "payload-dumper-go";
version = "1.2.2";
src = fetchFromGitHub {
owner = "ssut";
repo = "payload-dumper-go";
rev = "refs/tags/${version}";
hash = "sha256-P20/Nd2YOW9A9/OkpavVRBAi/ueYp812zZvVLnwX67Y=";
};
vendorHash = "sha256-CqIZFMDN/kK9bT7b/32yQ9NJAQnkI8gZUMKa6MJCaec=";
buildInputs = [ xz ];
meta = with lib; {
description = "An android OTA payload dumper written in Go";
homepage = "https://github.com/ssut/payload-dumper-go";
changelog = "https://github.com/ssut/payload-dumper-go/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ aleksana ];
mainProgram = "payload-dumper-go";
};
}