1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "apkinspector"; 12 version = "1.2.3"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "erev0s"; 19 repo = "apkInspector"; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-n6uVyN5XBEM/nuN7mvhNRwMUgUT5abOsh3CbhKK6ifY="; 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/v${version}"; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ fab ]; 36 mainProgram = "apkInspector"; 37 }; 38}