pythonPackages.gpsoauth: refactor move to python-modules
This commit is contained in:
parent
522a8a84d2
commit
99ce4fa5d6
36
pkgs/development/python-modules/gpsoauth/default.nix
Normal file
36
pkgs/development/python-modules/gpsoauth/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
|
||||
}
|
@ -1838,37 +1838,7 @@ in {
|
||||
gpapi = callPackage ../development/python-modules/gpapi { };
|
||||
gplaycli = callPackage ../development/python-modules/gplaycli { };
|
||||
|
||||
gpsoauth = buildPythonPackage rec {
|
||||
version = "0.2.0";
|
||||
name = "gpsoauth-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/g/gpsoauth/${name}.tar.gz";
|
||||
sha256 = "01zxw8rhml8xfwda7ba8983890bzwkfa55ijd6qf8qrdy6ja1ncn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
cffi
|
||||
cryptography
|
||||
enum34
|
||||
idna
|
||||
ipaddress
|
||||
ndg-httpsclient
|
||||
pyopenssl
|
||||
pyasn1
|
||||
pycparser
|
||||
pycryptodome
|
||||
requests
|
||||
six
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A python client library for Google Play Services OAuth";
|
||||
homepage = "https://github.com/simon-weber/gpsoauth";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jgillich ];
|
||||
};
|
||||
};
|
||||
gpsoauth = callPackage ../development/python-modules/gpsoauth { };
|
||||
|
||||
grip = callPackage ../development/python-modules/grip { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user