blob: 4fe1e18ef7847eae21394dcc54a9d1870826b0a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, pycryptodomex
, pythonOlder
, pythonRelaxDepsHook
, requests
}:
buildPythonPackage rec {
pname = "gpsoauth";
version = "1.0.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-SWYXNYrnzK8P4oK9f7bmOiVdWUQHp8WvhNzIS7Y0msg=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
poetry-core
];
propagatedBuildInputs = [
pycryptodomex
requests
];
pythonRelaxDeps = [
"urllib3"
];
# upstream tests are not very comprehensive
doCheck = false;
pythonImportsCheck = [ "gpsoauth" ];
meta = with lib; {
description = "Library for Google Play Services OAuth";
homepage = "https://github.com/simon-weber/gpsoauth";
license = licenses.mit;
maintainers = with maintainers; [ jgillich ];
};
}
|