blob: 68f1cf8244b0cdbaa95479afe5d765f01d8242a9 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
pycryptodomex,
requests,
}:
buildPythonPackage rec {
pname = "gpsoauth";
version = "2.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-njt2WmpOA2TewbxBV70+1+XsMGZYnihdC0aYaRCqa9I=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
pycryptodomex
requests
];
pythonRelaxDeps = [ "urllib3" ];
# upstream tests are not very comprehensive
doCheck = false;
pythonImportsCheck = [ "gpsoauth" ];
meta = {
description = "Library for Google Play Services OAuth";
homepage = "https://github.com/simon-weber/gpsoauth";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jgillich ];
};
}
|