Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
876 B
Nix
38 lines
876 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildGoModule,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "google-play";
|
|
version = "1.7.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "UlyssesZh";
|
|
repo = "google-play";
|
|
tag = "v${version}";
|
|
hash = "sha256-CmNBE3SJhDyY77mjC56pl0aiyt4ZW6pEYTtOK3FXGhE=";
|
|
};
|
|
|
|
subPackages = [
|
|
"internal/play"
|
|
"internal/badging"
|
|
];
|
|
|
|
vendorHash = "sha256-q0p9+74qUSY2AAnagtM6d6PPEhM1HHF019QWxTemiIo=";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
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/UlyssesZh/google-play";
|
|
mainProgram = "play";
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|