mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
31 lines
756 B
Nix
31 lines
756 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, xz
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "payload-dumper-go";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ssut";
|
|
repo = "payload-dumper-go";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-TFnBWylOoyleuBx3yYfHl1kWO6jVBiqsi8AMYLMuuk0=";
|
|
};
|
|
|
|
vendorHash = "sha256-XeD47PsFjDT9777SNE8f2LbKZ1cnL5HNPr3Eg7UIpJ0=";
|
|
|
|
buildInputs = [ xz ];
|
|
|
|
meta = with lib; {
|
|
description = "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";
|
|
};
|
|
}
|