2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 04:38:16 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cffi
|
|
|
|
, cryptography
|
|
|
|
, enum34
|
|
|
|
, idna
|
|
|
|
, ipaddress
|
|
|
|
, ndg-httpsclient
|
|
|
|
, pyopenssl
|
|
|
|
, pyasn1
|
|
|
|
, pycparser
|
2018-12-02 22:40:50 +00:00
|
|
|
, pycryptodomex
|
2018-10-16 04:38:16 +01:00
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-02-20 09:09:09 +00:00
|
|
|
version = "0.4.3";
|
2018-10-16 04:38:16 +01:00
|
|
|
pname = "gpsoauth";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:09 +00:00
|
|
|
sha256 = "b38f654450ec55f130c9414d457355d78030a2c29c5ad8f20b28304a9fc8fad7";
|
2018-10-16 04:38:16 +01:00
|
|
|
};
|
|
|
|
|
2018-12-02 22:40:50 +00:00
|
|
|
propagatedBuildInputs = [ cffi cryptography enum34 idna ipaddress ndg-httpsclient pyopenssl pyasn1 pycparser pycryptodomex requests six ];
|
2018-10-16 04:38:16 +01:00
|
|
|
|
2021-02-20 23:01:29 +00:00
|
|
|
# no tests executed
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "gpsoauth" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 04:38:16 +01: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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|