at master 1.4 kB view raw
1{ 2 lib, 3 args, 4 buildPythonPackage, 5 clint, 6 fetchFromGitHub, 7 libffi, 8 matlink-gpapi, 9 ndg-httpsclient, 10 protobuf, 11 pyasn1, 12 pyaxmlparser, 13 pytestCheckHook, 14 pythonOlder, 15 requests, 16 setuptools, 17}: 18 19buildPythonPackage rec { 20 pname = "gplaycli"; 21 version = "3.29"; 22 format = "setuptools"; 23 24 disabled = pythonOlder "3.6"; 25 26 src = fetchFromGitHub { 27 owner = "matlink"; 28 repo = "gplaycli"; 29 tag = version; 30 hash = "sha256-uZBrIxnDSaJDOPcD7J4SCPr9nvecDDR9h+WnIjIP7IE="; 31 }; 32 33 propagatedBuildInputs = [ 34 libffi 35 pyasn1 36 clint 37 ndg-httpsclient 38 protobuf 39 requests 40 args 41 matlink-gpapi 42 pyaxmlparser 43 setuptools 44 ]; 45 46 nativeCheckInputs = [ pytestCheckHook ]; 47 48 pythonImportsCheck = [ "gplaycli" ]; 49 50 preCheck = '' 51 export PATH="$PATH:$out/bin"; 52 ''; 53 54 disabledTests = [ 55 "test_alter_token" 56 "test_another_device" 57 "test_connection_credentials" 58 "test_connection_token" 59 "test_download_additional_files" 60 "test_download_focus" 61 "test_download_version" 62 "test_download" 63 "test_search" 64 "test_update" 65 ]; 66 67 meta = with lib; { 68 description = "Google Play Downloader via Command line"; 69 mainProgram = "gplaycli"; 70 homepage = "https://github.com/matlink/gplaycli"; 71 changelog = "https://github.com/matlink/gplaycli/releases/tag/${version}"; 72 license = licenses.agpl3Plus; 73 maintainers = [ ]; 74 }; 75}