aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/gpsoauth
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-15 23:38:16 -0400
committerFrederik Rietdijk <fridh@fridh.nl>2018-10-17 07:46:57 +0200
commit99ce4fa5d6b7e3fe185be08620b33e1ce8b3895a (patch)
tree9b1a8214e8d900d4e7b228e1c2f119797d53d6cb /pkgs/development/python-modules/gpsoauth
parent522a8a84d2b10cb3525f0552398a38754ebcc783 (diff)
pythonPackages.gpsoauth: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/gpsoauth')
-rw-r--r--pkgs/development/python-modules/gpsoauth/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/gpsoauth/default.nix b/pkgs/development/python-modules/gpsoauth/default.nix
new file mode 100644
index 00000000000..68dce423390
--- /dev/null
+++ b/pkgs/development/python-modules/gpsoauth/default.nix
@@ -0,0 +1,36 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, cffi
+, cryptography
+, enum34
+, idna
+, ipaddress
+, ndg-httpsclient
+, pyopenssl
+, pyasn1
+, pycparser
+, pycryptodome
+, requests
+, six
+}:
+
+buildPythonPackage rec {
+ version = "0.2.0";
+ pname = "gpsoauth";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "01zxw8rhml8xfwda7ba8983890bzwkfa55ijd6qf8qrdy6ja1ncn";
+ };
+
+ propagatedBuildInputs = [ cffi cryptography enum34 idna ipaddress ndg-httpsclient pyopenssl pyasn1 pycparser pycryptodome requests six ];
+
+ 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 ];
+ };
+
+}