depot/third_party/nixpkgs/pkgs/tools/archivers/payload-dumper-go/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

30 lines
759 B
Nix

{ 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";
};
}