forked from mirrors/nixpkgs
Merge pull request #149035 from schnusch/gplaycli
gplaycli: 3.26 -> 3.29
This commit is contained in:
commit
e09eb7f90b
|
@ -1,21 +1,21 @@
|
|||
{ buildPythonPackage, lib, libffi, isPy3k, pyasn1, clint, ndg-httpsclient
|
||||
, protobuf, requests, args, gpapi, pyaxmlparser, setuptools, fetchFromGitHub
|
||||
, protobuf, requests, args, matlink-gpapi, pyaxmlparser, setuptools, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gplaycli";
|
||||
version = "3.26";
|
||||
version = "3.29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matlink";
|
||||
repo = "gplaycli";
|
||||
rev = version;
|
||||
sha256 = "188237d40q35dp5xs7hg4ybhvsyxi0bsqx5dk4ws9007n596in5f";
|
||||
sha256 = "10gc1wr259z5hxyk834wyyggvyh82agfq0zp711s4jf334inp45r";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ libffi pyasn1 clint ndg-httpsclient protobuf requests args gpapi pyaxmlparser setuptools ];
|
||||
propagatedBuildInputs = [ libffi pyasn1 clint ndg-httpsclient protobuf requests args matlink-gpapi pyaxmlparser setuptools ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/matlink/gplaycli";
|
||||
|
|
35
pkgs/development/python-modules/matlink-gpapi/default.nix
Normal file
35
pkgs/development/python-modules/matlink-gpapi/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ buildPythonPackage
|
||||
, cryptography
|
||||
, fetchPypi
|
||||
, lib
|
||||
, pythonOlder
|
||||
, protobuf
|
||||
, pycryptodome
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.4.4.5";
|
||||
pname = "matlink-gpapi";
|
||||
disabled = pythonOlder "3.3"; # uses shutil.which(), added in 3.3
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version pname;
|
||||
sha256 = "0s45yb2xiq3pc1fh4bygfgly0fsjk5fkc4wckbckn3ddl7v7vz8c";
|
||||
};
|
||||
|
||||
# package doesn't contain unit tests
|
||||
# scripts in ./test require networking
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "gpapi.googleplay" ];
|
||||
|
||||
propagatedBuildInputs = [ cryptography protobuf pycryptodome requests ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/NoMore201/googleplay-api";
|
||||
license = licenses.gpl3Only;
|
||||
description = "Google Play Unofficial Python API";
|
||||
maintainers = with maintainers; [ schnusch ];
|
||||
};
|
||||
}
|
|
@ -4781,6 +4781,8 @@ in {
|
|||
|
||||
mathlibtools = callPackage ../development/python-modules/mathlibtools { };
|
||||
|
||||
matlink-gpapi = callPackage ../development/python-modules/matlink-gpapi { };
|
||||
|
||||
matplotlib = callPackage ../development/python-modules/matplotlib {
|
||||
stdenv = if stdenv.isDarwin then pkgs.clangStdenv else pkgs.stdenv;
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
|
||||
|
|
Loading…
Reference in a new issue