nixpkgs/pkgs/by-name/go/google-play/package.nix
2024-11-23 14:27:00 +00:00

35 lines
785 B
Nix

{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule rec {
pname = "google-play";
version = "1.6.3";
src = fetchFromGitHub {
owner = "3052";
repo = "google";
rev = "v${version}";
hash = "sha256-Wf7k76TXBr10FIclo/Ny8MLDDSNXu54JTDS0vfw4UXA=";
};
subPackages = [
"internal/play"
"internal/badging"
];
vendorHash = "sha256-NVN5qoGXiL6lOPZejUhK55EuzF7R0KsIT+2oCzK+Qg0=";
meta = {
description = "CLI app to download APK from Google Play or send API requests";
maintainers = with lib.maintainers; [ ulysseszhan ];
# https://polyformproject.org/licenses/noncommercial/1.0.0
license = lib.licenses.unfree;
homepage = "https://github.com/3052/google";
mainProgram = "play";
platforms = lib.platforms.unix;
};
}