mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
31 lines
759 B
Nix
31 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";
|
|
};
|
|
}
|