2019-12-03 18:17:33 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
|
|
|
|
, requests
|
|
|
|
, protobuf
|
|
|
|
, pycryptodome
|
|
|
|
}:
|
2018-03-10 23:09:11 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-12-03 13:39:49 +00:00
|
|
|
version = "0.4.4";
|
2018-03-10 23:09:11 +00:00
|
|
|
pname = "gpapi";
|
2019-12-03 18:17:33 +00:00
|
|
|
disabled = pythonOlder "3.3"; # uses shutil.which(), added in 3.3
|
2018-03-10 23:09:11 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version pname;
|
2019-12-03 13:39:49 +00:00
|
|
|
sha256 = "0ampvsv97r3hy1cakif4kmyk1ynf3scbvh4fbk02x7xrxn4kl38w";
|
2018-03-10 23:09:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests protobuf pycryptodome ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/NoMore201/googleplay-api";
|
2018-03-10 23:09:11 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
description = "Google Play Unofficial Python API";
|
2019-12-26 14:13:48 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-03-10 23:09:11 +00:00
|
|
|
};
|
|
|
|
}
|