1{ 2 buildPythonPackage, 3 lib, 4 lxml, 5 click, 6 fetchFromGitHub, 7 pytestCheckHook, 8 asn1crypto, 9}: 10 11buildPythonPackage rec { 12 version = "0.3.31"; 13 format = "setuptools"; 14 pname = "pyaxmlparser"; 15 16 src = fetchFromGitHub { 17 owner = "appknox"; 18 repo = "pyaxmlparser"; 19 rev = "v${version}"; 20 hash = "sha256-ZV2PyWQfK9xidzGUz7XPAReaVjlB8tMUKQiXoGcFCGs="; 21 }; 22 23 propagatedBuildInputs = [ 24 asn1crypto 25 click 26 lxml 27 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 meta = with lib; { 32 description = "Python3 Parser for Android XML file and get Application Name without using Androguard"; 33 mainProgram = "apkinfo"; 34 homepage = "https://github.com/appknox/pyaxmlparser"; 35 # Files from Androguard are licensed ASL 2.0 36 license = with licenses; [ 37 mit 38 asl20 39 ]; 40 maintainers = [ ]; 41 }; 42}