summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyaxmlparser/default.nix
blob: 99aef4c985afa63a92d1f69cbde9876f570bcb81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ buildPythonPackage, lib, lxml, click, fetchFromGitHub, pytestCheckHook, asn1crypto }:

buildPythonPackage rec {
  version = "0.3.27";
  pname = "pyaxmlparser";

  src = fetchFromGitHub {
    owner = "appknox";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-NtAsO/I1jDEv676yhAgLguQnB/kHdAqPoLt2QFWbvmw=";
  };

  propagatedBuildInputs = [ asn1crypto click lxml ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "Python3 Parser for Android XML file and get Application Name without using Androguard";
    homepage = "https://github.com/appknox/pyaxmlparser";
    # Files from Androguard are licensed ASL 2.0
    license = with licenses; [ mit asl20 ];
    maintainers = with maintainers; [ ];
  };
}