2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cffi
|
|
|
|
, cryptography
|
|
|
|
, enum34
|
|
|
|
, idna
|
|
|
|
, ipaddress
|
|
|
|
, ndg-httpsclient
|
|
|
|
, pyopenssl
|
|
|
|
, pyasn1
|
|
|
|
, pycparser
|
|
|
|
, pycryptodomex
|
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-08-18 13:19:15 +00:00
|
|
|
version = "1.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gpsoauth";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-18 13:19:15 +00:00
|
|
|
sha256 = "1c4d6a980625b8ab6f6f1cf3e30d9b10a6c61ababb2b60bfe4870649e9c82be0";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cffi cryptography enum34 idna ipaddress ndg-httpsclient pyopenssl pyasn1 pycparser pycryptodomex requests six ];
|
|
|
|
|
2021-02-24 18:30:23 +00:00
|
|
|
# no tests executed
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "gpsoauth" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A python client library for Google Play Services OAuth";
|
|
|
|
homepage = "https://github.com/simon-weber/gpsoauth";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jgillich ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|