forked from mirrors/nixpkgs
4feaaa7f06
Fix the broken package: https://hydra.nixos.org/build/70687256/log The newer version requires two new dependencies that have been added as well: - gpapi (Unofficial Python API for Google Play) at version 0.4.2 - pyaxmlparser (Parser for Android's XML handler) at version 0.3.7 See ticket #36453 See https://hydra.nixos.org/build/70687256/log
27 lines
749 B
Nix
27 lines
749 B
Nix
{ buildPythonPackage, stdenv, libffi, isPy3k, pyasn1, clint, ndg-httpsclient
|
|
, protobuf, requests, args, gpapi, pyaxmlparser, fetchFromGitHub
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "3.21";
|
|
name = "gplaycli-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "matlink";
|
|
repo = "gplaycli";
|
|
rev = version;
|
|
sha256 = "1r5nzi9yzswam0866gypjcvv3f1rw13jwx9s49chp8byxy1dyrs2";
|
|
};
|
|
|
|
disabled = !isPy3k;
|
|
|
|
propagatedBuildInputs = [ libffi pyasn1 clint ndg-httpsclient protobuf requests args gpapi pyaxmlparser ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/matlink/gplaycli;
|
|
description = "Google Play Downloader via Command line";
|
|
license = licenses.agpl3Plus;
|
|
maintainers = with maintainers; [ ma27 ];
|
|
};
|
|
}
|