1{ buildPythonPackage 2, cryptography 3, fetchPypi 4, lib 5, pythonOlder 6, protobuf 7, pycryptodome 8, requests 9}: 10 11buildPythonPackage rec { 12 version = "0.4.4.5"; 13 pname = "matlink-gpapi"; 14 disabled = pythonOlder "3.3"; # uses shutil.which(), added in 3.3 15 16 src = fetchPypi { 17 inherit version pname; 18 sha256 = "0s45yb2xiq3pc1fh4bygfgly0fsjk5fkc4wckbckn3ddl7v7vz8c"; 19 }; 20 21 # package doesn't contain unit tests 22 # scripts in ./test require networking 23 doCheck = false; 24 25 pythonImportsCheck = [ "gpapi.googleplay" ]; 26 27 propagatedBuildInputs = [ cryptography protobuf pycryptodome requests ]; 28 29 meta = with lib; { 30 homepage = "https://github.com/NoMore201/googleplay-api"; 31 license = licenses.gpl3Only; 32 description = "Google Play Unofficial Python API"; 33 maintainers = with maintainers; [ schnusch ]; 34 }; 35}