2018-10-16 04:38:16 +01:00
|
|
|
{ stdenv
|
|
|
|
, 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 {
|
2018-11-04 10:35:01 +00:00
|
|
|
version = "0.4.1";
|
2018-10-16 04:38:16 +01:00
|
|
|
pname = "gpsoauth";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:01 +00:00
|
|
|
sha256 = "1c3f45824d45ac3d06b9d9a0c0eccafe1052505d31ac9a698aef8b00fb0dfc37";
|
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
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A python client library for Google Play Services OAuth";
|
|
|
|
homepage = "https://github.com/simon-weber/gpsoauth";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jgillich ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|