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