pythonPackages.gplaycli: 0.1.2 -> 3.21
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
This commit is contained in:
26
pkgs/development/python-modules/gplaycli/default.nix
Normal file
26
pkgs/development/python-modules/gplaycli/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user