1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "apkinspector"; 12 version = "1.3.5"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "erev0s"; 19 repo = "apkInspector"; 20 tag = "v${version}"; 21 hash = "sha256-haJD5fioXd6KX7x2gNezGj2yUEMi/CFQUkCqa0t5yjA="; 22 }; 23 24 build-system = [ poetry-core ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "apkInspector" ]; 29 30 meta = with lib; { 31 description = "Module designed to provide detailed insights into the zip structure of APK files"; 32 homepage = "https://github.com/erev0s/apkInspector"; 33 changelog = "https://github.com/erev0s/apkInspector/releases/tag/${src.tag}"; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ fab ]; 36 mainProgram = "apkInspector"; 37 }; 38}